You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kneth This hit us on a production environment. Any support on quick will be really helpful else I have to migrate the keys to double. Double is working fine.
Float values cannot precisely represent integers above ~16 million. This is because a 32-bit float uses 24 bits for the mantissa and 8 bits for the exponent. If you need to represent large integers, you'd need to either use an int, double, or Decimal128. You can find more technical information about this in the answers of this SO question.
How frequently does the bug occur?
Always
Description
Float value changes after writing to realm even for integer part of the complete number
Stacktrace & log output
No response
Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
12.3.1
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Windows 11
Build environment
No response
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: