
I noticed that doubles like 8.0
are "int" when the document is fetched in flutter dart

is this expected behaviour?

yes, because JSON will always be 8 and not 8.0. you'll have to parse and handle it accordingly

makes sense 👍

casting it as num type and then using toDouble()
worked :)

[SOLVED] Appwrite double attribute value is an int
Recommended threads
- Document Data is null.
I'm using flutter and I've just got everything set up, the document meta data is null but the actual query is fine. (see screenshot) The permission I have ar...
- Flutter native Google Sign Up with googl...
Hey I want to use the native login instead of the WebView. Do you have any experience on that and has Appwrite to plan this support?
- cli 5.0.5 command for pull and push of d...
Hi i am using selfhosted appwrite 1.5.10, for migration (duplicate project) purpose i am using cli 5.0.5, but i am unable to find commands for pull and push, wh...
