System.SysUtils.FloatToCurr
Delphi
function FloatToCurr(const Value: Extended): Currency;
C++
extern DELPHI_PACKAGE System::Currency __fastcall FloatToCurr(const System::Extended Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Converts a floating-point value to a Currency value.
FloatToCurr returns the Currency value equivalent to Value. If Value is not within the valid range for a Currency value, FloatToCurr raises an EConvertError exception.