Difference between revisions of "Manuals/calci/SPELLTEENS"

From ZCubes Wiki
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(digit)'''</div><br/>
+
<div style="font-size:30px">'''SPELLTEENS(Digit)'''</div><br/>
*where <math>digit</math> is the digit to be spelled.  
+
*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>digit</math> should be single digit number between 0 and 9.
+
*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==
*SPELLDIGIT(0)=  zero
+
*SPELLTEENS(4)=  Fourteen
*SPELLDIGIT(8,9)= eight
+
*SPELLTEENS(8,9)= Eighteen
*SPELLDIGIT(1..9)= one two three four five six seven eight nine
+
*SPELLTEENS(0..9)= Ten Eleven  Twelve  Thirteen  Fourteen  Fifteen  Sixteen  Seventeen  Eighteen  Nineteen
*SPELLDIGIT("$")= Error
+
*SPELLTEENS("$")= Error
*SPELLDIGIT(-4) = Error
+
*SPELLTEENS(-4) = Error
*SPELLDIGIT(0.1) = 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/SPELLTEENS | SPELLTEENS]]
+
*[[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

Numbers

See Also


References