[Visual Basic] Public Function Convert( _ ByVal Value As Double, _ ByVal UnitIn As EpUnit, _ ByVal UnitOut As EpUnit, _ Optional ByRef ResultValid As Boolean = _ ) As Double [C#] public double Convert( double Value, EpUnit UnitIn, EpUnit UnitOut, out bool ResultValid ); [C++] public: double Convert( double Value, EpUnit UnitIn, EpUnit UnitOut, * bool ResultValid ); [JScript] public function Convert( double Value, EpUnit UnitIn, EpUnit UnitOut, bool ResultValid ): double;
if ResultValid is not given then an error is generated if UnitIn and UnitOut do not have the same Dimension
UnitConverter Class | EbsOpen Namespace