Closed fghhunter closed 1 month ago
Hi @fghhunter - sadly this is the nature of numbers in JS - when converted to decimals there is a chance of inaccuracy like this occurring - it is best in these cases to use the query transformer https://docs.budibase.com/docs/transformers to round the JS numbers to get the result set you expect/desire.
@mike12345567 thank you, I know nothing about JS, just a non-it staff. but budibase is an amazing tool.
Checklist
Hosting
Describe the bug The number field in the result of Oracle SQL query shown in left side has a very small gap against the value stored in DB. Even if use Round method to keep 2 decimal places. Table component view: DB view:
To Reproduce Steps to reproduce the behavior:
Expected behavior The value of sql query result should be the same with DB.
Screenshots Show above.
App Export
Desktop (please complete the following information):
Additional context Budibase running on Ubuntu2404