
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
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
