Difference between revisions of "Manuals/calci/SPELLINTEGER"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div style="font-size:30px">'''SPELLINTEGER(integer)'''</div><br/> *where <math>integer</math> is the integer to be spelled. ==Description== *This function displays the spel...")
 
Line 12: Line 12:
 
*SPELLINTEGER(18,9)= Eighteen
 
*SPELLINTEGER(18,9)= Eighteen
 
*SPELLINTEGER(21..25)= Twenty One  Twenty Two  Twenty Three  Twenty Four  Twenty Five
 
*SPELLINTEGER(21..25)= Twenty One  Twenty Two  Twenty Three  Twenty Four  Twenty Five
*SPELLINTEGER("$")= Error
+
*SPELLINTEGER("$")= NONNUMBER
 
*SPELLINTEGER(-4) = Error
 
*SPELLINTEGER(-4) = Error
 
*SPELLINTEGER(0.1) = Error
 
*SPELLINTEGER(0.1) = Error
 
  
 
==See Also==
 
==See Also==

Revision as of 15:55, 6 April 2018

SPELLINTEGER(integer)


  • where is the integer to be spelled.

Description

  • This function displays the spelling or number names of the given integer.
  • Argument should be a non-fractional number.
  • 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

  • SPELLINTEGER(100)= One Hundred
  • SPELLINTEGER(18,9)= Eighteen
  • SPELLINTEGER(21..25)= Twenty One Twenty Two Twenty Three Twenty Four Twenty Five
  • SPELLINTEGER("$")= NONNUMBER
  • SPELLINTEGER(-4) = Error
  • SPELLINTEGER(0.1) = Error

See Also


References