Manuals/calci/SPELLINTEGER

From ZCubes Wiki
Revision as of 05:23, 24 April 2017 by Swapna (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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("$")= Error
  • SPELLINTEGER(-4) = Error
  • SPELLINTEGER(0.1) = Error


See Also


References