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