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
- Issue with relations on database
I'm creating a food ordering website for businesses. I'm having issues with the relations on my database I attached the attributes for the collections I'm hav...
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...