Difference between revisions of "Manuals/calci/SPELLTENS"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
==Examples==
 
==Examples==
*SPELLTENS(4)=  forty
+
*SPELLTENS(4)=  Forty
*SPELLTENS(0)= hundred
+
*SPELLTENS(0)= Hundred
*SPELLTENS(1..9)= ten twenty thirty forty fifty sixty seventy eighty ninety
+
*SPELLTENS(1..9)= Ten Twenty Thirty Forty Fifty Sixty Seventy Eighty Ninety
 
*SPELLTENS("$")= Error
 
*SPELLTENS("$")= Error
 
*SPELLTENS(-4) = Error
 
*SPELLTENS(-4) = Error
 
*SPELLTENS(0.8) = Error
 
*SPELLTENS(0.8) = Error
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=yQZvX2A8X40|280|center|Numbers}}
  
 
==See Also==
 
==See Also==

Latest revision as of 14:07, 4 April 2019

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)= Hundred
  • SPELLTENS(1..9)= Ten Twenty Thirty Forty Fifty Sixty Seventy Eighty Ninety
  • SPELLTENS("$")= Error
  • SPELLTENS(-4) = Error
  • SPELLTENS(0.8) = Error

Related Videos

Numbers

See Also


References