Coerce.toInt32
This function converts the specified value to an int32.
Syntax
coerce.toInt32(value)
Arguments
Argument |
Type |
Description |
---|---|---|
value |
any |
The value to be coerced. |
Returns
Type |
Description |
---|---|
int32 |
The coerced int32 value. |
Examples
The function coerce.toInt32("333")
returns 333
.