It is currently March 28th, 2024, 5:28 pm

New formula functions

Changes made during the Rainmeter 3.2 beta cycle.
Post Reply
User avatar
jsmorley
Developer
Posts: 22628
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
Post Reply