NUMBER(6,C) AIX Commands Reference NUMBER(6,C)
-------------------------------------------------------------------------------
number
PURPOSE
Displays the written form of a number.
SYNTAX
/usr/games/number ---|
Note: This command does not have MBCS support.
DESCRIPTION
The number game displays the written form of a number that it reads from
standard input. The largest number it can translate accurately contains 66
digits.
The number game does not prompt you for a number. Once loaded, it simply waits
for input. To exit the program, press the INTERRUPT (refer to keyboard
definition) or END OF FILE (Ctrl-D) key.
EXAMPLE
To display the written form of several numbers:
You:
/usr/games/number
829
System:
eight hundred twenty nine
....
You:
12345678
System:
twelve million.
three hundred forty five thousand.
six hundred seventy eight.
You:
Ctrl-D
Processed November 8, 1990 NUMBER(6,C) 1