github.com/shopspring/decimal
v1.4.0
#446 most downloaded on Go modules
shopspring/decimal
What this package is like to depend on
Last release 1 months ago
29 Jun 2026
Ships unpredictably
gaps range from 1 weeks to 1.2 years
Some releases are documented
notes for 4 of 7 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
184 releases · first in 2015
6 releases in the last 12 months
see the full history below
Release timeline
184 releases · Feb 2015 to Jun 2026Releases
latest 60 of 184-
v1.4.1-0.20260629095829-3090cc487feb29 Jun 2026 pre-releaseNothing published for this version
-
v1.4.1-0.20260315220700-400829b4bf0815 Mar 2026 pre-releaseNothing published for this version
-
v1.4.1-0.20260308224236-6540310a7d8c08 Mar 2026 pre-releaseNothing published for this version
-
v1.4.1-0.20260213151844-9620fb7d077613 Feb 2026 pre-releaseNothing published for this version
-
v1.4.1-0.20251225225832-e1e92bff939125 Dec 2025 pre-releaseNothing published for this version
-
v1.4.1-0.20250624230423-08afb355173624 Jun 2025 pre-releaseNothing published for this version
-
v1.4.1-0.20250623190738-01bb2034de7423 Jun 2025 pre-releaseNothing published for this version
-
v1.4.012 Apr 2024Release notes
Open source →Full Changelog can be found in CHANGELOG.md
New Contributors
- @VadimKulagin made their first contribution in #278
- @CAEL0 made their first contribution in #341
- @zlasd made their first contribution in #301
- @falsaffa made their first contribution in #342
- @frankli0324 made their first contribution in #322
- @cbelsole made their first contribution in #265
- @acln0 made their first contribution in #346
- @davseby made their first contribution in #288
- @serprex made their first contribution in #355
- @agmt made their first contribution in #352
- @richardJiang made their first contribution in #285
- @axopadyani made their first contribution in #328
- @Bububuger made their first contribution in #131
Release notes
Open source →BREAKING
- Drop support for Go version older than 1.10 #361
FEATURES
- Add implementation of natural logarithm #339 #357
- Add improved implementation of power operation #358
- Add Compare method which forwards calls to Cmp #346
- Add NewFromBigRat constructor #288
- Add NewFromUint64 constructor #352
ENHANCEMENTS
- Migrate to Github Actions #245 #340
- Fix examples for RoundDown, RoundFloor, RoundUp, and RoundCeil #285 #328 #341
- Use Godoc standard to mark deprecated Equals and StringScaled methods #342
- Removed unnecessary min function for RescalePair method #265
- Avoid reallocation of initial slice in MarshalBinary (GobEncode) #355
- Optimize NumDigits method #301 #356
- Optimize BigInt method #359
- Support scanning uint64 #131 #364
- Add docs section with alternative libraries #363
BUGFIXES
-
v1.3.2-0.20240412141923-a1bdfc355e9c12 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240408143820-80ec9400541008 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240407183344-2fa107d0fe9007 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240405194323-645a76e5b0ae05 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240405194105-ed8f76e8938105 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240404143531-0e69d5cd53c504 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240403201219-547861c49ba203 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240402221627-78289cc8447002 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240401200225-2b68c56fe01701 Apr 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240219221343-d00399e1619019 Feb 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240124224815-57a340d853be24 Jan 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240115195638-b79c571f801115 Jan 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240115195005-142a0cf2f21515 Jan 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20240110010845-7b4ffbcd3c8610 Jan 2024 pre-releaseNothing published for this version
-
v1.3.2-0.20231231121133-1df8fb30155b31 Dec 2023 pre-releaseNothing published for this version
-
v1.3.2-0.20231229174757-572d78e32d0d29 Dec 2023 pre-releaseNothing published for this version
-
v1.3.2-0.20231229115416-304c9d67940d29 Dec 2023 pre-releaseNothing published for this version
-
v1.3.2-0.20231229005948-12e9241da28329 Dec 2023 pre-releaseNothing published for this version
-
v1.3.2-0.20231227145343-6926256b719227 Dec 2023 pre-releaseNothing published for this version
-
v1.3.2-0.20230723151323-22e39a3e420123 Jul 2023 pre-releaseNothing published for this version
-
v1.3.2-0.20220418215426-f55dd564545c18 Apr 2022 pre-releaseNothing published for this version
-
v1.3.2-0.20211021092223-fa3b22f4d48421 Oct 2021 pre-releaseNothing published for this version
-
v1.3.120 Oct 2021Release notes
Open source →Full Changelog can be found in CHANGELOG.md
New Contributors
- @Gilthoniel made their first contribution in #253
- @lmittmann made their first contribution in #252
Release notes
Open source →ENHANCEMENTS
- Reduce memory allocation in case of initialization from big.Int #252
BUGFIXES
- Fix binary marshalling of decimal zero value #253
-
v1.3.1-0.20230723151323-22e39a3e420123 Jul 2023 pre-releaseNothing published for this version
-
v1.3.1-0.20211020111751-683f5e1a7e1820 Oct 2021 pre-releaseNothing published for this version
-
v1.3.1-0.20211020111107-bc96f543c22f20 Oct 2021 pre-releaseNothing published for this version
-
v1.3.013 Oct 2021Release notes
Open source →Full Changelog can be found in CHANGELOG.md
New Contributors
- @dreamerjackson made their first contribution in #161
- @sreekanth370 made their first contribution in #188
- @nknordeen made their first contribution in #198
- @lovung made their first contribution in #202
- @bharath23 made their first contribution in #192
- @felipeneuwald made their first contribution in #205
- @jmalloc made their first contribution in #232
- @DoubleDi made their first contribution in #240
- @habuvo made their first contribution in #123
- @rubensayshi made their first contribution in #234
Release notes
Open source →FEATURES
- Add NewFromFormattedString initializer #184
- Add NewNullDecimal initializer #234
- Add implementation of natural exponent function (Taylor, Hull-Abraham) #229
- Add RoundUp, RoundDown, RoundCeil, RoundFloor methods #196 #202 #220
- Add XML support for NullDecimal #192
- Add IsInteger method #179
- Add Copy helper method #123
- Add InexactFloat64 helper method #205
- Add CoefficientInt64 helper method #244
ENHANCEMENTS
- Performance optimization of NewFromString init method #198
- Performance optimization of Abs and Round methods #240
- Additional tests (CI) for ppc64le architecture #188
BUGFIXES
-
v1.2.1-0.20211012101139-283b007e5fbc12 Oct 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20211012090745-3259e0a2de6512 Oct 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20211012001736-013e52d4e9a512 Oct 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20211011163938-46544472a55211 Oct 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210912113752-9ffd602a49cc12 Sep 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210910134844-b11a7c46d78f10 Sep 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210909110313-483a047db9d009 Sep 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210622222456-cc4584f0a5de22 Jun 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210329231237-501661573f6029 Mar 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210314210956-f77bb078286a14 Mar 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210218223250-9328d16578e018 Feb 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210117235046-99f4d74cf29717 Jan 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210110042647-2740f7f782ac10 Jan 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20210110041512-0cada0bdfec010 Jan 2021 pre-releaseNothing published for this version
-
v1.2.1-0.20201211184111-8bd41ac55db311 Dec 2020 pre-releaseNothing published for this version
-
v1.2.1-0.20201201101553-66332b32a9d501 Dec 2020 pre-releaseNothing published for this version
-
v1.2.1-0.20201119052329-13425bb201a719 Nov 2020 pre-releaseNothing published for this version
-
v1.2.1-0.20200914172903-ebbf8bbe367414 Sep 2020 pre-releaseNothing published for this version
-
v1.2.1-0.20200820214745-5a22b86679d620 Aug 2020 pre-releaseNothing published for this version
-
v1.2.1-0.20200707070546-867ed12000cf07 Jul 2020 pre-releaseNothing published for this version
-
v1.2.1-0.20200630232032-6fe01c1abd8a30 Jun 2020 pre-releaseNothing published for this version
-
v1.2.028 Apr 2020Release notes
Open source →BREAKING
- Drop support for Go version older than 1.7 #172
FEATURES
- Add NewFromInt and NewFromInt32 initializers #72
- Add support for Go modules #157
- Add BigInt, BigFloat helper methods #171
ENHANCEMENTS
- Memory usage optimization #160
- Updated travis CI golang versions #156
- Update documentation #173
- Improve code quality #174
BUGFIXES
-
v1.1.1-0.20200428023536-480f653de81428 Apr 2020 pre-releaseNothing published for this version
-
v1.1.1-0.20200427060321-c939845a686f27 Apr 2020 pre-releaseNothing published for this version
-
v1.1.1-0.20200419222939-1884f454f8ea19 Apr 2020 pre-releaseNothing published for this version