WORDSw. Format

Writes numeric values as words.
Category: Numeric
Alignment: left

Syntax

WORDSw.

Syntax Description

w
specifies the width of the output field.
Default:10
Range:5–32767

Details

You can use the WORDSw. format to print checks with the amount written out below the payee line.
Negative numbers are preceded by the word minus. If the number is not an integer, the fractional portion is represented as hundredths. For example, 5.3 prints as five and thirty hundredths. When the value's equivalent in words does not fit into the specified field, it is truncated on the right and the last character prints as an asterisk.

Comparisons

The WORDSw. format is similar to the WORDFw. format except that WORDSw. prints fractions as words instead of numbers.

Example

put price words23.;
Value of price
Result
 
----+----1----+----2----+
2.1
two and ten hundredths

See Also

Formats: