Difference between revisions of "Manuals/calci/SPELLTENS"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''SPELLTENS(digit)'''</div><br/> *where <math>digit</math> is the digit whose tens is to be spelled. ==Description== *This function displays the...") |
|||
Line 10: | Line 10: | ||
==Examples== | ==Examples== | ||
*SPELLTENS(4)= forty | *SPELLTENS(4)= forty | ||
− | *SPELLTENS(0)= | + | *SPELLTENS(0)= hundred |
− | *SPELLTENS( | + | *SPELLTENS(1..9)= ten twenty thirty forty fifty sixty seventy eighty ninety |
*SPELLTENS("$")= Error | *SPELLTENS("$")= Error | ||
*SPELLTENS(-4) = Error | *SPELLTENS(-4) = Error | ||
− | *SPELLTENS(0. | + | *SPELLTENS(0.8) = Error |
==See Also== | ==See Also== |
Revision as of 02:57, 25 April 2017
SPELLTENS(digit)
- where is the digit whose tens is to be spelled.
Description
- This function displays the spelling or number name of 'tens' of given number.
- Argument should be single digit number between 0 and 9.
- For non-numeric argument such as character, string or special characters, calci gives an error.
- For more than one digits, only first digit is spelled.
Examples
- SPELLTENS(4)= forty
- SPELLTENS(0)= hundred
- SPELLTENS(1..9)= ten twenty thirty forty fifty sixty seventy eighty ninety
- SPELLTENS("$")= Error
- SPELLTENS(-4) = Error
- SPELLTENS(0.8) = Error
See Also
References