[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert a float to a Currency value.
Source position: sysstrh.inc line 215
function FloattoCurr( |
const Value: Extended |
):Currency; |
FloatToCurr converts the Value floating point value to a Currency value. It checks whether Value is in the valid range of currencies (determined by MinCurrency and MaxCurrency). If not, an EConvertError exception is raised.
If Value is out of range, an EConvertError exception is raised.
|
Conversion error. |
|
|
Try to convert a float value to a currency value and report on success. |
|
|
Minimum Currency value |
|
|
Maximum currency value |