[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'sysutils' (#rtl) |
Try to convert a float value to a currency value and report on success.
Source position: sysstrh.inc line 185
function TryFloatToCurr( |
const Value: Extended; |
var AResult: Currency |
):Boolean; |
TryFloatToCurr tries convert the Value floating point value to a Currency value. If successful, the function returns True and the resulting currency value is returned in AResult. It checks whether Value is in the valid range of currencies (determined by MinCurrency and MaxCurrency). If not, False is returned.
If Value is out of range, False is returned.
|
Convert a float to a Currency value. |
|
|
Minimum Currency value |
|
|
Maximum currency value |
No notes exist for this page yet.