5 1 5 Decimal Formats

LANSA Integrator

5.1.5 Decimal Formats

Decimal format patterns allow numbers to be formatted to a particular locale.

0

Digit.

#

Digit, zero shows as absent.

.

Decimal separator or monetary decimal separator.

-

Minus sign.

,

Grouping separator.

E

Separates mantissa and exponent in scientific notation.

;

Subpattern boundary.

%

Multiply by 100 and show as percentage.

\u2030

Multiply by 1000 and show as per mile.

\u00A4

Currency sign, replaced by currency symbol.
If doubled, replaced by international currency symbol.
If present in a pattern, the monetary decimal separator is used instead of the decimal separator.
If used in an XML attribute, use hex entity ¤

'

Used to quote special characters.
If the % character is needed in the pattern then use '%'.
If the # character is needed in the pattern then use '#'
To create a single quote itself, use two in a row.
The single quote can be used inside a double quoted XML attribute.