It is currently July 12th, 2020, 6:56 am

New formula functions

Changes made during the Rainmeter 3.2 beta cycle.
User avatar
Posts: 21014
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

New formula functions

Post 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