Difference between revisions of "Manuals/calci/SPELLTEENS"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''SPELLTEENS(digit)'''</div><br/> *where <math>digit</math> is the digit to be spelled. ==Description== *This function displays the spelling or ...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''SPELLTEENS( | + | <div style="font-size:30px">'''SPELLTEENS(Digit)'''</div><br/> |
− | *where <math> | + | *where <math>Digit</math> is the digit to be spelled. |
==Description== | ==Description== | ||
*This function displays the spelling or number name of given 'teen' digit. | *This function displays the spelling or number name of given 'teen' digit. | ||
− | *Argument <math> | + | *Argument <math>Digit</math> 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 non-numeric argument such as character, string or special characters, calci gives an error. | ||
*For more than one digits, only first digit is spelled. | *For more than one digits, only first digit is spelled. | ||
==Examples== | ==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 |
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=yQZvX2A8X40|280|center|Numbers}} | ||
==See Also== | ==See Also== | ||
Line 23: | Line 26: | ||
*[[Manuals/calci/SPELLNUMBER | SPELLNUMBER]] | *[[Manuals/calci/SPELLNUMBER | SPELLNUMBER]] | ||
− | *[[Manuals/calci/ | + | *[[Manuals/calci/SPELLDIGIT | SPELLDIGIT]] |
Latest revision as of 13:06, 4 April 2019
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
Related Videos
See Also
References