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

bojanz / currency
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 11 Jun 2020 07:09PM UTC
Files 4
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

LAST BUILD ON BRANCH refs/tags/v1.3.0
branch: refs/tags/v1.3.0
CHANGE BRANCH
x
Reset
  • refs/tags/v1.3.0
  • accounting-style
  • czeslavo-master
  • fix-precision
  • github-actions
  • main
  • master
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.0.2
  • refs/tags/v1.0.3
  • refs/tags/v1.0.4
  • refs/tags/v1.0.5
  • refs/tags/v1.0.6
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.1.2
  • refs/tags/v1.1.3
  • refs/tags/v1.2.0
  • refs/tags/v1.2.1
  • refs/tags/v1.2.2
  • refs/tags/v1.2.3
  • refs/tags/v1.3.1
  • refs/tags/v1.4.0
  • regenerate-latest-data
  • register

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

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%)

176.21 hits per line

Relevant lines Covered
Build:
Build:
596 RELEVANT LINES 594 COVERED LINES
176.21 HITS PER LINE
Source Files on refs/tags/v1.3.0
  • List 4
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
11650848661 refs/tags/v1.3.0 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 transa... push 03 Nov 2024 11:13AM UTC bojanz github
99.66
See All Builds (165)
  • Repo on GitHub
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

© 2025 Coveralls, Inc