Converts a measurement from the specified units to the base units of its conversion family.
function ConvertFrom(const AFrom: TConvType; const AValue: Double): Double;
Double ConvertFrom(const TConvType AFrom, const Double AValue);
ConvUtils
Call ConvertFrom to convert the value AValue from the units specified by AFrom to the base units of the conversion family for AFrom.
If AFrom is not a registered conversion type, ConvertFrom raises an EConversionError exception.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|