Login    Sites MenuBlueStep

BlueStep Platform Support

RelateScript
Outline full outline 
Overview 
Data Types 
Operators 
Statements 
Functions 
Data Conversion 
charCode(...) 
charVal(...) 
format(...) 
formatElapsedTime(...) 
getFormatter(...) 
join(...) 
parseFloat(...) 
parseInteger(...) 
readCSV(...)/readCSVRows(...) 
split(...) 
toDate(...) 
toDateDiff(...) 
toDateTime(...) 
toTime(...) 
String Functions 
HTML/CSS/JavaScript 
Array Functions 
Date/Time Functions 
Mathematical Functions 
Advanced Functions 
Restricted Functions 
Working with Relate Data 
How Formulas Work 
Related Topics 

 

The parseFloat(...) function has two variations, not counting syntax variations. It is used to convert a String to a Float with an optional custom format string.

Syntax:
parseFloat( number-string )
parseFloat(
number-string, format-string )
number-string.parseFloat()
number-string.parseFloat( format-string )

 

 

Parameter Description
number-string The String value to be converted to a Integer value
format-string The format string is used to interpret the number-string. If omitted, the function expects a String value containing a number and no additional formatting.  If the number-string value is null, empty or does not match the format string, the result will be null.  For a description of possible format-string values refer to the Java API documentation for DecimalFormat.