Difference between revisions of "Manuals/calci/SPELLINTEGER"

From ZCubes Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="font-size:30px">'''SPELLINTEGER(integer)'''</div><br/>
+
<div style="font-size:30px">'''SPELLINTEGER(Integer)'''</div><br/>
*where <math>integer</math> is the integer to be spelled.  
+
*where <math>Integer</math> is the integer to be spelled.  
  
 
==Description==
 
==Description==
 
*This function displays the spelling or number names of the given integer.
 
*This function displays the spelling or number names of the given integer.
*Argument <math>integer</math> should be a non-fractional number.
+
*Argument <math>Integer</math> should be a non-fractional number.
 
*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:
 
*SPELLINTEGER(-4) = Error
 
*SPELLINTEGER(-4) = Error
 
*SPELLINTEGER(0.1) = Error
 
*SPELLINTEGER(0.1) = Error
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|v=yQZvX2A8X40|280|center|Integers}}
  
 
==See Also==
 
==See Also==

Latest revision as of 14:01, 4 April 2019

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

Related Videos

Integers

See Also


References