You can create a formula that contains arithmetic operators that are commonly used in formulas. See Numeric Functions in the Scripting Guide for details about syntax.
Returns the remainder when the second argument is divided into the first. For example, Modulo(6, 5) results in 1.
Returns the smallest integer greater than or equal to its argument. For example, Ceiling(2.3) results in 3, while Ceiling(–2.3) results in –2.
Returns the largest integer less than or equal to its argument. For example, Floor(2.7) results in 2, but Floor(–0.5) results in –1.
Rounds the first argument to the number of decimal places given by the second argument. For example, Round(3.554, 2) rounds to 3.55 and Round(3.555, 2) rounds to 3.56.