string class : ParseToReal() method
Description
Converts the string to the instance of the real type.
Syntax
stringInstance.ParseToReal()
Arguments
None
Return value
Class | Description |
real | An instance of the real type that is converted. |
Sample code
//anyString is a instance of string type.
real converted = anyString.ParseToReal();
Notes
It's a wrapper of the System.Double.Parse(String).