Symbols and formulas you can use in posts
In the parameters and formulas of your posts you can use the symbols, references and mathematical formulas below.
Symbol | Explanation |
|---|---|
+ | Adding 2 values. |
- | Subtracting 2 values. |
***** | Multiplying 2 values. |
/ | Dividing 2 values. |
% | Modulus. |
== | Is equal to. |
!= | Is not equal to. |
> | Is greater than. |
< | Is less than. |
>= | Is greater than or equal to. |
<= | Is less than or equal to. |
&& | and |
II | or |
! | not |
Reference | Explanation | Example |
|---|---|---|
Q | Reference to the quantity that you fill in for this post in the quotation | Q < 50 ? 1 : 0 |
DISTANCE_KM | Reference to the 'kilometers' field on the quotation | DISTANCE_KM > 50 ? 1 : 0 |
Mathematical formula | Explanation | Example |
|---|---|---|
Math.round( x ) | Rounding a number to the higher or the lower integer. | Math.round(16,14). -> value = 16 |
Math.floor( x ) | A number with decimal places is rounded down to the lowest integer. | Math.floor(7,35) -> value = 7 |
Math.ceil( x ) | A number with decimal places is rounded up to the highest integer. | Math.ceil(7,35) -> value = 8 |
Math.max(x;y;x) | The highest value in the series is shown. | Math.max(2;6;10;3;1;9) -> value = 10 |
Math.PI | Pi. | Math.PI*2 -> value = 6,28 (pi *2) |
Math.pow(x;y) | Exponentiation. | Math.pow(2;5). -> value = 32 (2 to the power of 5). |
Math.sqrt( x ) | Square root. | Math.sqrt(16) -> value = 4 (square root of 16). |
Math.abs( x ) | Absolute value (= positive value) | Math.abs(-3) -> value = 3 |
Math.sinh( x ) | Hyperbolic sine. | |
Math.cos( x ) | Cosine. | |
Math.tan( x ) | Tangent. | |
Math.log( x ) | Logarithm. |
Updated on: 04/09/2026
Thank you!
