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" ) );
gpa = sutil.stringToFloat( session.getv( "GPA" ) );
tylers on 07/23/2010 at 11:19 am
- Printer-friendly version
- Login or register to post comments