This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tags [2016/02/28 15:17] Wearable Software |
tags [2016/02/28 15:29] Wearable Software |
||
---|---|---|---|
Line 139: | Line 139: | ||
|wfeci|Forecast Day 5 Condition Icon|1| | |wfeci|Forecast Day 5 Condition Icon|1| | ||
- | ===== Functions | + | ===== Built-in operators |
+ | * Addition: 2 + 2 | ||
+ | * Subtraction: | ||
+ | * Multiplication: | ||
+ | * Division: 2 / 2 | ||
+ | * Exponentation: | ||
+ | * Unary Minus,Plus (Sign Operators): +2 - (-2) | ||
+ | * Modulo: 2 % 2 | ||
- | * abs: absolute value | + | ===== Mathematical Functions ===== |
- | * acos: arc cosine | + | You can also use mathematical functions for your expression. These expressions are supported: |
- | * asin: arc sine | + | |
- | * atan: arc tangent | + | |
- | * cbrt: cubic root | + | |
- | * ceil: nearest upper integer | + | |
- | * cos: cosine | + | |
- | * cosh: hyperbolic cosine | + | |
- | * exp: euler' | + | |
- | * | + | |
- | * log: logarithmus naturalis (base e) | + | |
- | * | + | |
- | * log2: logarithm (base 2) | + | |
- | * sin: sine | + | |
- | * sinh: hyperbolic sine | + | |
- | * sqrt: square root | + | |
- | * tan: tangent | + | |
- | | + | |
+ | * abs: absolute value | ||
+ | * acos: arc cosine | ||
+ | * asin: arc sine | ||
+ | * atan: arc tangent | ||
+ | * cbrt: cubic root | ||
+ | * ceil: nearest upper integer | ||
+ | * cos: cosine | ||
+ | * cosh: hyperbolic cosine | ||
+ | * exp: euler' | ||
+ | * floor: nearest lower integer | ||
+ | * log: logarithmus naturalis (base e) | ||
+ | * log10: logarithm (base 10) | ||
+ | * log2: logarithm (base 2) | ||
+ | * sin: sine | ||
+ | * sinh: hyperbolic sine | ||
+ | * sqrt: square root | ||
+ | * tan: tangent | ||
+ | * tanh: hyperbolic tangent | ||
+ | ==== Example ==== | ||
+ | < | ||
+ | Returns the integer value for the current temperature | ||