Manuals/calci/SPELLTENS

Revision as of 02:46, 25 April 2017 by Swapna (talk | contribs) (Created page with "<div style="font-size:30px">'''SPELLTENS(digit)'''</div><br/> *where <math>digit</math> is the digit whose tens is to be spelled. ==Description== *This function displays the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SPELLTENS(digit)


  • where is the digit whose tens is to be spelled.

Description

  • This function displays the spelling or number name of 'tens' of given number.
  • 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

  • SPELLTENS(4)= forty
  • SPELLTENS(0)= eighteen
  • SPELLTENS(0..9)= ten eleven twelve thirteen fourteen fifteen sixteen seventeen eighteen nineteen
  • SPELLTENS("$")= Error
  • SPELLTENS(-4) = Error
  • SPELLTENS(0.1) = Error

See Also


References