Smart Meter: Problems with arithmetic calculation evaluation #23065
Unanswered
redm123
asked this question in
scripter / SML
Replies: 1 comment 2 replies
-
constant values must be preceded with '#' see docs
evaluation left to right no brackets supported (i will add that to the docs) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using
=m
arithmetic calculations I noticed some problems (bugs?) in evaluation of formulas.First of, some examples that work as expected, with 3=144, 4=0:
Here I'm not sure if that is maybe "expected"? I mean, on first look this is obviously wrong and should be fixed. But maybe evaluation intentionally happens strictly L->R, for simplicity? In that case it would helpful to note that in the documentation.
Meter config:
Beta Was this translation helpful? Give feedback.
All reactions