Wasp Barcode WaspLabeler +2D User Manual User Manual

Page 132

Advertising
background image

128

Wasp Labeler User Manual

technique. For example, you can use the format string
"##0,," to represent 100 million as 100. Numbers smaller
than 1 million are displayed as 0. Two adjacent commas in
any position other than immediately to the left of the
decimal separator are treated simply as specifying the use
of a thousand separator. The actual character used as the
thousand separator in the formatted output depends on the
Number Format specified in the International section of the
Control Panel. For some countries, a period is used as the
thousand separator.

E- E+ e-

e+

Exponential

Notation

If the format expression contains at least one digit
placeholder (0 or #) to the right of E-, E+, e-, or e+, the
number is displayed in scientific format and E or e is
inserted between the number and its exponent. The
number of digit placeholders to the right determines the
number of digits in the exponent. Use E- or e- to place a
minus sign next to negative exponents. Use E+ or e+ to
place a minus sign next to negative exponents and a plus
sign next to positive exponents.

987654 ("0.0e0")
= 98.8e4

1503.92311
("0.0##e+00") =
1.504e+03

- + $ ( )

Display a

literal

character

To display a character other than one of those listed,
precede it with a backslash (\) or enclose it in double
quotation marks (" ").

\

Escape

Character

Many characters in the format expression have a special
meaning and can't be displayed as literal characters unless
they are preceded by a backslash. The backslash itself
isn't displayed. Using a backslash is the same as enclosing
the next character in double quotation marks. To display a
backslash, use two backslashes (\\). For example, the
numeric-formatting characters (#, 0, %, E, e, comma, and
period) and the string-formatting characters (@, &, <, >,
and !) can't be displayed.

987654
("\###00\#") =
#987654#

"ABC"

Literal

String

Delimiter

Indicates that the enclosed characters should be copied to the
result string unchanged.

68 ("#' degrees'") =
68 degrees

;

Section

Separator

Defines sections with separate format strings for positive,
negative and zero numbers. A format expression can have from
one to four sections separated by semicolons. The first section
applies to positive values, the second to negative values, the third
to zeros and the fourth to Null values.


Advertising