[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Try to convert a float value to a currency value and report on success.
Source position: sysstrh.inc line 155
function TryFloatToCurr( |
const Value: Extended; |
var AResult: Currency |
):Boolean; |
TryFloatToCurrtries convert the Valuefloating point value to a Currencyvalue. If successful, the function returns Trueand the resulting currency value is returned in AResult. It checks whether Valueis in the valid range of currencies (determined by MinCurrencyand MaxCurrency). If not, Falseis returned.
If Valueis out of range, Falseis returned.
|
Convert a float to a Currency value. |
|
|
Minimum Currency value |
|
|
Maximum currency value |