| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Convert a string to a currency value, using a default value
Source position: sysstrh.inc line 224
function StrToCurrDef(  | 
const S: string;  | 
Default: Currency  | 
):Currency;  | 
const S: string;  | 
Default: Currency;  | 
const FormatSettings: TFormatSettings  | 
):Currency;  | 
StrToCurrDef converts a string to a currency value and returns the value. The string should contain a valid currency amount, without currency symbol. If the conversion fails, the fallback Default value is returned.
On error, the Default value is returned.
  | 
Convert a currency value to a string.  | 
|
  | 
Convert a string to a currency value  |