Switching to Xcode 13 we got an issue in one of our unit-tests checking the proper conversion from JSON to our object model.
In our json we have some money value amounts like "{"amount": 90.21 }". Until now we parsed them as Decimal without any issues.
But now, we don't get a Decimal 90.21 anymore, we get Decimal 90.20999999...
This is reproducable only with iOS 15 Devices and values between 64 and 99 with 21 after the decimal point.
It looks like there is a conversion to double in between or so?
8
0
4.2k