Difference between revisions of "Manuals/calci/TONUMBER"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
==Description==
 
==Description==
 
*This function converts a string to a number.
 
*This function converts a string to a number.
*In <math> TONUMBER ("Number")</math>,<math>Number</math> is any type number.
+
*In <math> TONUMBER (Number)</math>,<math>Number</math> is any type number.
 
*Given number can be of any type like Positive Integer,Negative Integer and Decimal.
 
*Given number can be of any type like Positive Integer,Negative Integer and Decimal.
 
*This function will give the result as "0" when the given value is Non Numeric.
 
*This function will give the result as "0" when the given value is Non Numeric.

Revision as of 04:57, 19 February 2020

TONUMBER ("Number")


  • is any number.

Description

  • This function converts a string to a number.
  • In , is any type number.
  • Given number can be of any type like Positive Integer,Negative Integer and Decimal.
  • This function will give the result as "0" when the given value is Non Numeric.

Examples

  1. TONUMBER("34") = 34
  2. TONUMBER("12.3") = 12.3
  3. TONUMBER("-10") = -10

See Also

References