Documentation Math Functions Math Functions Math functions provide common operations for integer values. abs returns an integer's absolute value. clamp restricts an integer to a range. max returns the greater of two integers. min returns the lesser of two integers.