novi / mysql-swift

A type safe MySQL client for Swift
MIT License
163 stars 40 forks source link

Fix Decimal decoding RowKeyedDecodingContainer #97

Closed florianreinhart closed 5 years ago

florianreinhart commented 5 years ago

The string value from MySQL was converted to Double. In some cases this can produce strange Decimal values, e.g. 1.5489999999999995904 instead of 1.549.

novi commented 5 years ago

@florianreinhart Thanks!

novi commented 5 years ago

98 fixes the tests.