Previous Topic

Next Topic

Book Contents

Book Index

Numeric Strings

Numeric String

Description

9

Each 9 is replaced with a digit 0 through 9. The number is right justified and leading zeros are added.

Z

If a Z matches a leading zero in the field's contents, it is replaced by a space. If not, it is replaced with a digit 0 through 9.

+

A plus sign is replaced by either a plus sign if the contents are positive or a minus sign if it is negative. If more than one plus sign is placed leftmost, any leading zeros are suppressed and the sign floats over to the right.

L

A L placed at the left of an edit string will cause the field to be left justified.

-

A minus sign is replace with a blank if the fields contents are positive and a minus sign if it is negative. If more then one minus sign is placed leftmost, any leading zeros are suppressed and the sign floats over to the right.

.

A period represents the decimal point placement. It is replaced by the current radix point symbol. A period is the default radix symbol. The radix symbol is defined by the logical name SYS$RADIX_POINT. Put only one decimal point in a numeric string.

,

A comma is the digit separator. If all digits at the left are suppressed zeros, then the comma is replaced by blank. Otherwise it is replaced with the current digit separator symbol. A comma is the default digit separator. The digit separator symbol is defined by the logical name SYS$DIGIT_SEP.

B

The letter B is replaced by a blank at that position.

$

A $ is replaced by the current currency symbol. The default currency symbol is $. The currency symbol is defined by the logical name SYS$CURRENCY. If more than one currency symbol is placed leftmost, any leading zeros are suppressed and the symbol floats over to the right.

CR

If the field's contents are negative, the letters CR are inserted. In all other cases, 2 blanks are inserted.

DB

If the field's contents are negative, the letters DB are inserted. In all other cases, 2 blanks are inserted.

W

Force a period decimal point.

See Also

Edit Strings

Alphabetic Strings

Date Strings