Manuals/calci/SPELLINTEGER

From ZCubes Wiki
Revision as of 17:10, 20 July 2018 by Devika (talk | contribs)
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("$")= NONNUMBER
  • SPELLINTEGER(-4) = Error
  • SPELLINTEGER(0.1) = Error

See Also


References