Difference between revisions of "Manuals/calci/SPELLTEENS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
==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
 
 
  
 
==See Also==
 
==See Also==

Revision as of 04:47, 24 April 2017

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