Page 1 of 1

New formula functions

Posted: August 29th, 2014, 11:24 pm
by jsmorley
User dgrace has added three new formula functions to the Rainmeter code.

Min(x, y)
Returns the minimum of x and y

Max(x, y)
Returns the maximum of x and y

Clamp(x, low, high)
Restricts value x to low and high limits. If the value x is less than the value low, it will return low, if it is greater than the value high, it will return high