A-61635 December 2010
4-37
Examples
“A12345.6”
Î
” +12345.600”
“-12345.6”
Î
“ +12345.600”
“TT9000”
Î
“ +0.000”
“—9999”
Î
“ –9999.000”
N<[2, ‘^’], 20, 3>
Description
— a signed number with a total of 20 characters and 3 digits after
the decimal point. The number will be extracted from the 2 element in the
string, where the elements are separated by the character ‘^’.
Example
“12345.6^45678.9”
Î
“ +45678.900”
#<textformats, width, fracwidth, padding>
— used to format a number that
is extracted from a string using textformats and padded with the specified
character.
This format is a extension of the format #<textformats, width, fracwidth> where
the output string will be padded with the specified character.
0width
— used to zero-fill a number to the minimum specified width.
Examples
010
Description
— a zero-filled number with a total width of 10 characters.
Examples
“123”
Î
“0000000123”
“0”
Î
“0000000000”
03
Description
— a zero-filled number with a total width of 3 characters.
Example
“1”
Î
“001”
“1234”
Î
“1234”