Mathematical Functions
RTR provides several built-in mathematical functions for performing common calculations.
min
Returns the smallest value among the provided arguments.
max
Returns the largest value among the provided arguments.
abs
Returns the absolute value of a number.
round
Rounds a number to the nearest integer.
floor
Rounds a number down to the nearest integer.
ceil
Rounds a number up to the nearest integer.
sqrt
Returns the square root of a number.
Last updated