https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
v

Vlad

10/24/2023, 2:28 PM
Value in json
"value": 23132140222
de-serialized into Kotlin
val value: Double
with Kotlin Serialization into
2.31321395E10
, and saved into database / rendered on UI with the latest format. I don't want that. I want to keep
23132140222
, at least at rendering part. How is that topic called so I can google about that? 😊
Okay, I learned that it is called "Scientific notaion" and there are opened by Roman 6 years ago task to support that in Kotlin. https://youtrack.jetbrains.com/issue/KT-21644