Anonymous user
Number names/REXX: Difference between revisions
m
added comments in the section header concerning what the REXX program supports. -- ~~~~
m (spelled out &, highlighted some numbers. -- ~~~~) |
m (added comments in the section header concerning what the REXX program supports. -- ~~~~) |
||
Line 14:
* decimal fractions
* numbers with leading zeroes (as well as trailing zeroes)
* leading signs &
* exponential notation
* currency symbols
Line 20:
* numbers (American) up to 3,000 digits
* numbers (English) up to 6,000 digits
* numbers with metric suffixes
** '''K M G T P E Z Y X W V U'''
* numbers with binary suffixes, namely:
** '''Ki Mi Gi Ti Pi Ei Zi Yi Xi Wi Vi Ui'''
** the above suffixes can be combined: '''44MM''' (44 million million)
* numbers with some common suffixes such as:
** '''dozens'''
** '''gross'''
** '''greatgross'''
** '''pairs'''
** '''scores'''
** '''googols'''
** or any suitable abbreviation of the above
* numbers expressed as a factorial (such as '''100!''').
* user-defineable names for:
** signs ('''-6''' could be expressed as '''negatory six''')
** decimal point ('''2.4''' could be expressed as '''two boing four''')
** power (the power of ten that the number is being raised to)
** currency symbols
** zero (the digit)
** blanks
** a value of zero
* numbers may have commas but they aren't enunicated
The program has a pretty hefty prologue which determines (among other things):
|