• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bojanz / currency / 11650848661 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 03 Nov 2024 11:13AM UTC
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2024 11:09AM UTC coverage: 99.664%. Remained the same
11650848661.1

push

github

bojanz
Stop overriding ISO digits with CLDR digits.

For ~14 currencies ISO specifies 2 or 3 digits, but CLDR specifies 0,
because that better reflects real world usage, where the currency's
minor units no longer have value and aren't used in cash transactions.

However, it is common in such cases for the digits to still be used
for banking transactions, tax amounts, etc.
Since those represent common use cases for this package, it is safer to
default to the ISO digits, and let consumers further
restrict and round as needed.

Fixes #37.

594 of 596 relevant lines covered (99.66%)

58.74 hits per line

Source Files on job Go-1.22 - 11650848661.1
  • Tree
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11650848661
  • 2411bcd1 on github
  • Prev Job for on refs/tags/v1.3.0 (#11629495219.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc