Title: Inconsistent Output in JSONata for Java Version 1.5.8 for Mathematical Functions and Formatting · Issue #318 · IBM/JSONata4Java · GitHub
Open Graph Title: Inconsistent Output in JSONata for Java Version 1.5.8 for Mathematical Functions and Formatting · Issue #318 · IBM/JSONata4Java
X Title: Inconsistent Output in JSONata for Java Version 1.5.8 for Mathematical Functions and Formatting · Issue #318 · IBM/JSONata4Java
Description: 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...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/IBM/JSONata4Java/issues/318
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent Output in JSONata for Java Version 1.5.8 for Mathematical Functions and Formatting","articleBody":"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.\r\n\r\nAdditionally, 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\"}) =\u003e \"140pm\". However, this does not work unless the \"pm\" is replaced with \"p\".\r\n\r\nThese issues may lead to inaccuracies in data processing and unexpected behavior in applications relying on this version of JSONata.","author":{"url":"https://github.com/Sloyee","@type":"Person","name":"Sloyee"},"datePublished":"2024-09-02T05:15:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/318/JSONata4Java/issues/318"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9692565c-facf-67fe-cc0c-7806c34d607a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8EF0:2E1306:BF70A2:11405D5:6A4E4844 |
| html-safe-nonce | 8ceee2be9d313cc3fd793da5a01e677c359777ce3ab7099dd01c8fe203525eea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUYwOjJFMTMwNjpCRjcwQTI6MTE0MDVENTo2QTRFNDg0NCIsInZpc2l0b3JfaWQiOiI4ODMyMTU4ODg2NTc4MjQzNjUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3aa85cbf23213d4cb70527a2f3020f5a24ce970db24b7d8e3cc9347f91773ce4 |
| hovercard-subject-tag | issue:2500018593 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IBM/JSONata4Java/318/issue_layout |
| twitter:image | https://opengraph.githubassets.com/afccc55e35fbd8ecf5e052c8ca94606a81e9886cb5559169c4cf7ca72c56beaf/IBM/JSONata4Java/issues/318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/afccc55e35fbd8ecf5e052c8ca94606a81e9886cb5559169c4cf7ca72c56beaf/IBM/JSONata4Java/issues/318 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Sloyee |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/IBM/JSONata4Java git https://github.com/IBM/JSONata4Java.git |
| octolytics-dimension-user_id | 1459110 |
| octolytics-dimension-user_login | IBM |
| octolytics-dimension-repository_id | 169904880 |
| octolytics-dimension-repository_nwo | IBM/JSONata4Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 169904880 |
| octolytics-dimension-repository_network_root_nwo | IBM/JSONata4Java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e8506f6d0538364886e3f0153c154c410965e70d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width