The StrToInt function converts a string to an integer.
Syntax
Integer Global.StrToInt(
String value)
String value)
Parameters
| value | The string. | Required |
|---|
Return value
The StrToInt function returns the integer value.
Example
value = StrToInt("25.8")
// value = 25
// value = 25