toInt()
Casts the input value to a signed 32-bit integer.
Arguments:
this:input (Number):
The input value.
Returns: Number
add(right)
Adds the first value to the second.
Arguments:
this:left (Number):
The left-hand value.
right (Number):
The right-hand value.
Returns: Number
divide(right)
Divides the first value by the second, returning 0 for division by 0.
Arguments:
this:left (Number):
The left-hand value.
right (Number):
The right-hand value.
Returns: Number
mod(right)
Calculates the remainder of the first value divided by the second.