stringToFloat

float sutil.stringToFloat ( String str ) (professional and enterprise editions only)

Description

Parse string into a floating point number.

Parameters

  • str String to be transformed into a float.

Return Values

Returns the string's value as a floating point number.

Change Log

Version Description
5.0.1a Introduced for professional and enterprise editions.

Examples

Parse a String into a Float

 // Parse Float from String
 gpa = sutil.stringToFloat( session.getv( "GPA" ) );