string class : ParseToReal() method

Description

Converts the string to the instance of the real type.

Syntax

stringInstance.ParseToReal()

Arguments

None

Return value

ClassDescription
realAn 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).

Links for reference

Copyright © Rice All rights reserved.