Note:
The dash (-), colon (:), slash (/) and space ( ) are treated as literal values and can be included anywhere in a pattern. To include a phrase in a pattern, delimit the text string with single quotation marks (‘). For example, ‘Your balance is’ z,zz9.99 can be specified as the Display Pattern.
Use these pattern symbols to create patterns. The pattern determines the format for users to enter or format data. The formatted results in the Example column are delimited by double quotation marks so that you can see where spaces would appear in the result. The quotation marks are not part of the result. In these examples, the locale is English (USA).
9
Single digit or the zero digit if the input is empty. When following the decimal radix, indicates the exact number of digits as contained in the data value.
z
Single digit or no output if the input is the leading zero digit, or no output if the input is empty
Z
Single digit or a space if the input is the leading zero digit, or a space if the input is empty
s
Minus sign (-) if the number is negative (when the number is positive, no symbol is required)
S
Minus sign (-) if the number is negative, or a space if the number is positive
E
Exponential symbol (E+3 means exponent value is 3 and E-2 means exponent value is -2).
The exponential symbol (E) may be used after a 9, z, or Z digit only.
$
Currency symbol, whichever one corresponds to the object’s current Locale setting
Credit symbol (CR) if the number is negative (when the number is positive, no symbol is required)
Credit symbol (CR) if the number is negative, or spaces if the number is positive
Debit symbol (DB) if the number is negative (when the number is positive, no symbol is required)
Debit symbol (DB) if the number is negative, or spaces if the number is positive
Left and right parenthetic characters to show a negative number. If the number is a positive number, the parenthetic characters become spaces.
Note:
The left and right parenthetic characters may enclose an 8, 9, z, or Z digit only.
.
Decimal radix, whichever one corresponds to the object’s current Locale setting
Formatted Value for a German (Germany) locale: “123,45”
v
Implied decimal radix, whichever one corresponds to the object’s current Locale setting (the decimal radix is stripped out before the output is written)
,
Grouping character, whichever one corresponds to the object’s current Locale setting
Formatted Value for a German (Germany) locale: “1.234,56”
%
Percentage symbol, whichever one corresponds to the object’s current Locale setting
?
*
+
See also 

Numeric patterns