InfinilOriginal post
Rank 6: Server
I noticed that doubles like 8.0 are "int" when the document is fetched in flutter dart
Summary
The issue was that when fetching a document in Flutter Dart from Appwrite, double attribute values like `8.0` were being treated as integers. The solution is to cast the value as a number type and then use `toDouble()` to get the correct double value. This behavior is expected because JSON always represents integers as whole numbers and not with decimal points.