Decimal v0.5.1 Release Notes
-
Bankers' Rounding implemented in "roundTo". This rounds values ending in "5" to the nearest even number, in line with the behaviour of "Prelude.round". This is potentially a breaking change for software that depends on the old behavior, so the minor version number has been bumped.
โ Added a
stack.yaml
file.๐ Corrected documentation.
Read
instance now handles leading spaces properly.๐ Fixed compiler warnings in test suite.
โ Added
roundTo'
which allows fortruncate
,floor
andceiling
behaviour when rounding.