User Tools

Site Tools


syntax:functions:parsefloat
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
syntax:functions:parsefloat [2021/08/16 00:42] (current) craigt
Line 1: Line 1:
 +====== ParseFloat(text) ======
 +Category:  Text function
 +
 +\\ 
 +=====Description=====
 +This function parses a number in scientific notation (as a text value) into a decimal number.
 +
 +\\ 
 +=====Arguments=====
 +^Argument^Type^Description^
 +|text|Text|The value of a number in scientific notation.|
 +
 +**Return value type:** Number
 +
 +\\ 
 +=====Remarks=====
 +This is one of the few text functions that returns a non-text value.
 +
 +\\ 
 +=====Examples=====
 +
 +  parsefloat('1.23E-10') //Returns 0.000000000123
 +
 +  parsefloat('1.23E6') //Returns 1230000
 +
 +
 +\\ 
 +===== See also =====
 +  * [[syntax:functions:asnumber|AsNumber(value)]]
  
syntax/functions/parsefloat.txt · Last modified: 2021/08/16 00:42 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki