Difference between revisions of "Manuals/calci/SPELLTEENS"

From ZCubes Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user 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==
*SPELLTEENS(4)=  fourteen
+
*SPELLTEENS(4)=  Fourteen
*SPELLTEENS(8,9)= eighteen
+
*SPELLTEENS(8,9)= Eighteen
*SPELLTEENS(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
 
*SPELLTEENS("$")= Error
 
*SPELLTEENS("$")= Error
 
*SPELLTEENS(-4) = Error
 
*SPELLTEENS(-4) = Error
 
*SPELLTEENS(0.1) = Error
 
*SPELLTEENS(0.1) = Error
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=yQZvX2A8X40|280|center|Numbers}}
  
 
==See Also==
 
==See Also==

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