help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

StrToCurrDef

Convert a string to a currency value, using a default value

Declaration

Source position: sysstrh.inc line 190

function StrToCurrDef(

  const S: String;

  Default: Currency

):Currency;

Description

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.

Errors

On error, the Default value is returned.

See also

CurrToStr

  

Convert a currency value to a string.

StrToCurr

  

Convert a string to a currency value

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505