RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.FloatToCurr Function

Converts a floating-point value to a System::Currency value.

Pascal
function FloatToCurr(const Value: Extended): Currency;
C++
Currency FloatToCurr(const Extended Value);

FloatToCurr returns the System::Currency value equivalent to Value. If Value is not within the valid range for a System::Currency value, FloatToCurr raises an EConvertError exception. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!