All Versions
6
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History

  • v0.5.1 Changes

    • 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 for truncate, floor and ceiling behaviour when rounding.

  • v0.4.1 Changes

    • ๐Ÿ‘Œ Improved Read instance. Now handles "1.2e3" and reads only returns a single parse.

    • ๐Ÿ“š Corrected documentation.

    • โž• Added Enum instance.

    • decimalConvert now returns a Maybe value. The old version has been renamed to "unsafeDecimalConvert.

  • v0.3.1 Changes

    • โž• Added Typeable, Fractional and RealFrac instances.

    • Multiplication now returns an exact result, increasing precision if necessary.

    These changes alter the API. Hence the increment to the major version number.

    Thanks to Alexey Uimanov (s9gf4ult at gmail.com).

  • v0.2.3 Changes

    • โž• Added instance of NFData from Control.DeepSeq, and hence a dependency ๐Ÿ“ฆ on the deepseq package, thanks to Jeff Shaw (shawjef3 at msu.edu).
  • v0.2.2 Changes

    • ๐Ÿ›  Minor fixes to allow compilation under other versions of GHC.
  • v0.2.1 Changes

    • ๐Ÿ›  Fixed base dependency.

    • โœ… Put test suite under cabal test