Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

NegCurrFormat (deprecated)

Format string for negative currencies.

Declaration

Source position: sysinth.inc line 169

var NegCurrFormat: Byte;

Description

CurrencyFormat is the default format string for negative currencies. It is used by the float formatting routines. The initialization routines of the SysUtils unit initialize this string with a value conforming to the regional preferences of the user or system regional default:

0
Left parenthesis, currency symbol, amount, right parenthesis. Ex: ($1.2)
1
Negative sign, currency symbol, amount. Ex: -$1.2
2
Monetary symbol, negative sign, amount. Ex: $-1.2
3
Monetary symbol, amount, negative sign. Ex: $1.2-
4
Left parenthesis, amount, currency symbol, right parenthesis. Ex: (1.2$)
5
Negative sign, amount, currency symbol. Ex: -1.2$
5
6Amount, negative sign, currency symbol. Ex: 1.2-$
5
7Amount, currency symbol, negative sign. Ex: 1.2$-
5
8Negative sign, amount, space, currency symbol (as #5, adding a space before the currency symbol). Ex: -1.2 $
9
Negative sign, currency symbol, space, amount (as #1, adding a space after the currency symbol). Ex: -$ 1.2
10
Amount, space, currency symbol, negative sign (as #7, adding a space before the currency symbol). Ex: 1.2 $-
11
Monetary symbol, space, amount, negative sign (as #3, adding a space after the currency symbol). Ex: $ 1.2-
12
Monetary symbol, space, negative sign, amount (as #2, adding a space after the currency symbol). Ex: $ -1.2
13
Amount, negative sign, space, currency symbol (as #6, adding a space before the currency symbol). Ex: 1.2- $
14
Left parenthesis, currency symbol, space, amount, right parenthesis (as #0, adding a space after the currency symbol). Ex: ($ 1.2)
15
Left parenthesis, amount, space, currency symbol, right parenthesis (as ##4, adding a space before the currency symbol). Ex: (1.2 $)

See also

CurrencyDecimals

  

Number of decimals in currency amounts.

CurrencyFormat

  

Format string for currencies.

CurrencyString

  

Name of currency.

Format

  

Format a string with given arguments.

FloatToText

  

Return a string representation of a float, with a given format.

DefaultFormatSettings

  

Storage for default settings.


Documentation generated on: Dec 24 2024