getInt
Gets value at the given index as an int. Floating point values will be rounded. The value true
is returned as 1, false
as 0. Returns 0 if the value doesn't exist or does not have a numeric value.
Return
the int value.
Parameters
index
the index. This value must not exceed the bounds of the array.