WRITTEN_NUMBER Name
WRITTEN_NUMBER
Purpose
This function returns the written form of the input number.
Category
Strings
Calling Sequence
Result = WRITTEN_NUMBER( Num ) Inputs
Num: An integer, or string of integers to be converted to written
format of type string.
Keyword Parameters
LOWERCASE: If set, all text characters are in lower case. The
default is to have the first letter in each word in upper
case.
UPPERCASE: If set, all text characters are in upper case. The
default is to have only the first letter in each word
in upper case. Outputs
Result: Returns a string containing the written form of Num.
Uses
DIMENSION.pro
VAR_TYPE.pro
Procedure
This function takes the last digit of the input number and matches
it with a string containing the written form.
Example
Return the written value of 3.
result = WRITTEN_NUMBER( 3 )
Returns Result = 'Three'
Modification History
Written by: Daithi A. Stone, (stoned@uvic.ca) 2001-02-15.