Next:
toliteral
Prev:
toerr
toint
toint(
string
)
This function converts
string
to an integer. If
string
is not a number, the resulting integer will be
0
.
Examples:
toint("67") => 67 toint("foo") => 0