| Maptitude GISDK Help |
Converts a string to a real number.
real_value = Value(string input_string)
| Argument | Contents |
|---|---|
| input_string | A string that contains a representation of a real number |
A real number equal to the value of input_string.
If the string begins with a non-numeric character, Value() returns zero.
Can also be called as StringToReal() and S2R().
rval1 = Value("35.012") // rval1 = 35.012
rval2 = Value("35FRED") // rval2 = 35
rval3 = Value("Hello35") // rval2 = 0
| Function | Summary |
|---|---|
| Format() | Formats a number |
| IntToString() | Converts an integer to a string representation of the integer value |
| RealToInt() | Converts a real number to an integer |
| RealToString() | Converts a real number to a string |
| StringToInt() | Converts a string to an integer value |
| StringToReal() | Converts a string to a real number |
| ©2025 Caliper Corporation | www.caliper.com |