Let's say, I create a document in a collection with a double=59.930670 When i read the payload from realtime listener, it contains that double but the value is equal to 59.9307. Why is that?)
Realtime listener returns wrong value in payload
It actually parses wrong values even when I create the document
And I can't change that value in the console myself. It just changes back from 59.930670 to 59.9307
Potentially a console issue? Can you update and see the number with higher precision in like an app?
Sry, I can't seem to understand what you mean
Is the issue only occurring in the console/dashboard or also in your application?
well, the title and initial description already say that the issue is in application as well π
seems like a bug tbh
yep, you actually had an issue opened for that, which was closed as completed, I can also see that there was a merge, but, unfortunately, the issue remains https://github.com/appwrite/appwrite/issues/2766
Upgrading from 1.2.0 to 1.2.1 didn't help
double precision issue with appwrite 1.2.1
I think the precision of float values is currently only 4 decimal places. I think we plan on changing it to 8 in the next version of Appwrite.
Damn, that's sad... Any ETA when it will be released?
maybe in a few months?
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...