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
We have identified discrepancies in the output values generated by JSONata for Java Version 1.5.8, particularly when using mathematical functions such as $power and $sqrt. For example, applying the $power function on the value 21.67 with an exponent of 2 yields 469.5889000000001 instead of the expected 469.5889. Similar inconsistencies are observed with other mathematical functions like $sqrt.
Additionally, the $formatNumber function does not behave as described in the documentation. An example provided in the documentation is $formatNumber(0.14, "###pm", {"per-mille": "pm"}) => "140pm". However, this does not work unless the "pm" is replaced with "p".
These issues may lead to inaccuracies in data processing and unexpected behavior in applications relying on this version of JSONata.
The text was updated successfully, but these errors were encountered:
We have identified discrepancies in the output values generated by JSONata for Java Version 1.5.8, particularly when using mathematical functions such as $power and $sqrt. For example, applying the $power function on the value 21.67 with an exponent of 2 yields 469.5889000000001 instead of the expected 469.5889. Similar inconsistencies are observed with other mathematical functions like $sqrt.
Additionally, the $formatNumber function does not behave as described in the documentation. An example provided in the documentation is $formatNumber(0.14, "###pm", {"per-mille": "pm"}) => "140pm". However, this does not work unless the "pm" is replaced with "p".
These issues may lead to inaccuracies in data processing and unexpected behavior in applications relying on this version of JSONata.
The text was updated successfully, but these errors were encountered: