Maptitude GISDK Help |
Converts a string to an integer value.
int_value = StringToInt(string input_string)
Argument |
Contents |
input_string |
Any string |
An integer equal to the value of input_string.
Returns zero if the string begins with a non-numeric character.
Can also be called as S2I().
ival1 = StringToInt("35.012") |
// ival1 = 35 |
ival2 = StringToInt("35FRED") |
// ival2 = 35 |
ival3 = StringToInt("Hello35") |
// ival2 = 0 |
Function |
Summary |
Formats a number |
|
Converts an integer to a string representation of the integer value |
|
Converts a real number to an integer |
|
Converts a real number to a string |
|
Converts a string to a real number |
|
Converts a string to a real number |
©2025 Caliper Corporation | www.caliper.com |