Core Docs | Additional Modules Docs

sb.math.flip


@Description: flips 0 to 1 or 1 to 0
@File: math/flip.js
@Example:
//equals 0
sb.flip(1);

sb.math.rand


@Description: Used to generate a random number between a min and max value
@File: math/rand.js
@Param: min Number The minimum value to return
@Param: max Number The maximum value to return