It is currently May 19th, 2019, 7:45 am

New formula functions

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

New formula functions

jsmorley » August 29th, 2014, 11:24 pm

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