Implicit Type Conversion(Double,Unit) Operator
In This Topic
Returns the absolute value of a
Unit expressed in
UnitTypeEnum.Default units.
Throws exception if the operation cannot be performed.
Syntax
'Declaration
Overloads Public Operator Widening CType( _
ByVal As Unit _
) As Double
public double operator implicit(
Unit
)
Parameters
- value
- The unit value to convert.
Return Value
The absolute value.
See Also