round
0.21-0.2Rounding to Decimal Digits
Overview
Decimal rounding is non-trivial in binary arithmetic. ISO standard round to even is more rare than typically assumed as most decimal fractions are not exactly representable in binary. Our 'roundX()' versions explore differences between current and potential future versions of round() in R. Further, provides (some partly related) C99 math lib functions not in base R.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 58%
- Return-value docs
- 100%
- References docs
- 67%
Downloads
Repository
Repository practices
Repository gitlab.com/mmaechler/round is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Code & Tests
People & History
6 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.21-0.2Latest
- 0.21-0.12023-12-07 · diff ↗
- 0.21-02023-10-12 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.20-02021-01-05 · diff ↗
- 0.12-22020-07-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.12-12020-01-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-01-24
- Total releases
- 6 / 6 yrs
- License
- AGPL (>= 3) | file LICENSE OSI
- Download size
- 71 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("round")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-11, which the citation names so these numbers can be found later. More on citing and the projects behind them.