Difference between revisions of "Manuals/calci/SPELLTEENS"

From ZCubes Wiki
Jump to navigation Jump to search
 
(4 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(4)=  fourteen
+
*SPELLTEENS(4)=  Fourteen
*SPELLDIGIT(8,9)= eighteen
+
*SPELLTEENS(8,9)= Eighteen
*SPELLDIGIT(0..9)= ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen
+
*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==

Latest revision as of 14: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