Converts a floating-point value to a Currency value.
function TryFloatToCurr(const Value: Extended; out AResult: Currency): Boolean;
Boolean TryFloatToCurr(const Extended Value, Currency AResult);
SysUtils
TryFloatToCurr converts the specified floating-point value into a Currency value.
Value is the floating-point value to convert.
AResult returns the equivalent Currency value, if possible.
If TryFloatToCurr is successful, it returns true. If Value is not within the valid range for a Currency value, TryFloatToCurr returns false.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|