what is the best type to store monetary value in r...
# realm
b
what is the best type to store monetary value in realm?
c
For Multiplatform or just Android? I don’t think Multiplatform has BigInteger support, so there you probably need to go with
Long
with will put limits on how big numbers you can store. Otherwise for Android you can use
BigDecimal
and convert it to a String…but that might cause issues if you want to sort on it.
b
thanks @chrmelchior i don’t need sorting by this value, so i can store as string and convert it back to BigDecimal