Sign in Join
FPDoc Onlineexperiment

CurrToStrF function

In unit sysutils

Format a currency to a string.

Declaration

pascal
function CurrToStrF(Value: Currency; Format: TFloatFormat; 
 Digits: Integer): string

Description

CurrToStrF formats the currency Value according to the value in Format, using the number of digits specified in Digits, and a precision of 19. This function simply calls FloatToStrF.

Note that on unix systems, the localization support must be enabled explicitly, see Localization.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.