Maptitude GISDK Help

Value(), StringToReal(),  S2R()

Summary

Converts a string to a real number.

 

Syntax

real_value = Value(string input_string)

 

Argument Contents
input_string A string that contains a representation of a real number

 

Returns

A real number equal to the value of input_string.

 

Notes

Example

rval1 = Value("35.012") // rval1 = 35.012

rval2 = Value("35FRED") // rval2 = 35

rval3 = Value("Hello35") // rval2 = 0

 

See Also

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