You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure that function-based math operations are not implemented. The example in the PR had the roundTo(x,y) and ^ operations removed from the JSON.
The current code fails silently I thin returning null for any clause that contains a function. This means you get a NaN if there is a division operator or a null if there is one of the other operators. The code should abort or log errors or something if it runs across an unsupported function.
ℹ️ Info
The expression parser does not handle some function calls or power operators.
Version:
0.2.0-alpha
current head of the main branch💬 Description
The expression parser for math operations will return incorrect results for math functions on operations.
where base and scale have values though the values really don't matter
📜 tokens file you tried to import
Example 2 in PR #4 demonstrates this. There extra logging in that PR
The text was updated successfully, but these errors were encountered: