![rainmeter plane clock skins rainmeter plane clock skins](https://www.techilife.com/wp-content/uploads/2020/03/vyqjinz3jo711.jpg)
Atan( x): The principal arc tangent of x, in the interval radians.Asin( x): The principal arc sine of x, in the interval radians.Acos( x): The principal arc cosine of x, in the interval radians.Tan( x): The tangent of an angle of x radians.Sin( x): The sine of an angle of x radians.Cos( x): The cosine of an angle of x radians.Logical & and || operators must have the conditions on either side enclosed in (parentheses).Įxample: (MyMeasure = 5) || (MyMeasure = 10) Functions Formula Syntax OperatorsĬonditional statements using logical operators evaluate to 1 or 0 (true / false). Note: While, and #Variables# can be used in a formula, all the components of a formula must be numeric, using only numbers, operators, functions and constants. Mathematical formulas must be entirely enclosed in (parentheses) to alert Rainmeter that it is a formula, unless they are being used in the Formula option of a Calc measure or in a IfCondition option, where the function is always assumed to be a formula, and the enclosing parentheses are optional. However, if you then use the variable in an option that does allow formulas, that option itself will do the math, as in X=#MyVar# in a meter. If you have a variable MyVar=(5 * 2), then the value of #MyVar# is not "10", but literally "(5 * 2)". While formulas can be used in the section of a skin, be aware that the section itself does not resolve the formula.
![rainmeter plane clock skins rainmeter plane clock skins](https://devsjournal.com/wp-content/uploads/2021/12/Modular-Clocks-v2.1.jpg)
The RegExp option of a WebParser measure.
![rainmeter plane clock skins rainmeter plane clock skins](https://visualskins.com/media/p/682/simplistic-analog-clock-white-rainmeter.jpg)
In those cases, the characters used in a formula are treated as any other string character. These are primarily places where the option value is assumed to be a string and only a string. There are a few place where formulas are not allowed. In a numeric meter or measure option value: W=((2.5 + 100) * 2).In an IFCondition option value: IfCondition=MeasureName > (2.5 + 100) * 2.In a Calc measure: Formula=(2.5 + 100) * 2.There are many situations where formulas can be used in Rainmeter to arrive at a numerical result.