Previous Page | Next Page

Formats

WORDSw. Format



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

Syntax
Syntax Description
Details
Comparisons
Examples
See Also

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.


Examples

put price words23.;

Value of price Results
 
----+----1----+----2----+
2.1
two and ten hundredths


See Also

Format:

WORDFw. Format

Previous Page | Next Page | Top of Page