Difference between revisions of "Manuals/calci/SPELLDIGIT"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="font-size:30px">'''SPELLDIGIT(digit)'''</div><br/>
+
<div style="font-size:30px">'''SPELLDIGIT(Digit)'''</div><br/>
*where <math>digit</math> is the digit to be spelled.  
+
*where <math>Digit</math> is the digit to be spelled.  
  
 
==Description==
 
==Description==
 
*This function displays the spelling or number name of given digit.
 
*This function displays the spelling or number name of given digit.
*Argument <math>digit</math> should be single digit number between 0 and 9.
+
*Argument <math>Digit</math> 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 non-numeric argument such as character, string or special characters, calci gives an error.
 
*For more than one digits, only first digit is spelled.
 
*For more than one digits, only first digit is spelled.
Line 15: Line 15:
 
*SPELLDIGIT(-4) = Error
 
*SPELLDIGIT(-4) = Error
 
*SPELLDIGIT(0.1) = Error
 
*SPELLDIGIT(0.1) = Error
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=yQZvX2A8X40|280|center|Digits}}
  
 
==See Also==
 
==See Also==

Latest revision as of 13:54, 4 April 2019

SPELLDIGIT(Digit)


  • where is the digit to be spelled.

Description

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

  • SPELLDIGIT(0)= Zero
  • SPELLDIGIT(8,9)= Eight
  • SPELLDIGIT(1..9)= One Two Three Four Five Six Seven Eight Nine
  • SPELLDIGIT("$")= Error
  • SPELLDIGIT(-4) = Error
  • SPELLDIGIT(0.1) = Error

Related Videos

Digits

See Also


References