Difference between revisions of "Manuals/calci/SPELLTEENS"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
==Examples== | ==Examples== | ||
− | *SPELLTEENS(4)= | + | *SPELLTEENS(4)= Fourteen |
− | *SPELLTEENS(8,9)= | + | *SPELLTEENS(8,9)= Eighteen |
− | *SPELLTEENS(0..9)= | + | *SPELLTEENS(0..9)= Ten Eleven Twelve Thirteen Fourteen Fifteen Sixteen Seventeen Eighteen Nineteen |
*SPELLTEENS("$")= Error | *SPELLTEENS("$")= Error | ||
*SPELLTEENS(-4) = Error | *SPELLTEENS(-4) = Error |
Revision as of 15:58, 6 April 2018
SPELLTEENS(digit)
- where is the digit to be spelled.
Description
- This function displays the spelling or number name of given 'teen' digit.
- 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
- SPELLTEENS(4)= Fourteen
- SPELLTEENS(8,9)= Eighteen
- SPELLTEENS(0..9)= Ten Eleven Twelve Thirteen Fourteen Fifteen Sixteen Seventeen Eighteen Nineteen
- SPELLTEENS("$")= Error
- SPELLTEENS(-4) = Error
- SPELLTEENS(0.1) = Error
See Also
References