From 47d53a8ec3fba5909056d46266b43983e4e26d69 Mon Sep 17 00:00:00 2001 From: blakadder Date: Wed, 8 May 2019 09:39:41 +0200 Subject: [PATCH] added all comparison operator descriptions --- Rules.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Rules.md b/Rules.md index c01d039b..feb8f7b6 100644 --- a/Rules.md +++ b/Rules.md @@ -60,14 +60,17 @@ Tele-[SensorName]#[ValueName] ``` Comparison operators are: -``` -"=", ">", "<", "|" -"==", ">=", "<=", "!=" -"=" operator is used for string comparison -"==" operator is used for numerical comparison -"|" operator is used for modulo calculation remainder = 0 (i.e., exact division) -``` +|Operator|Function| +|---|---| +|`=` | equal to (used for string comparison)| +|`==`| equal to (used for numerical comparison)| +|`>`| greater than| +|`<`| lesser than| +|`!=`| not equal to| +|`>=`| greater than or equal to| +|`<=`| lesser than or equal to| +|`\|`| used for modulo calculation remainder = 0 (i.e., exact division)| Some of available triggers: