Skip to content

round

Rounding to Decimal Digits

v0.21-0.2 · Jan 10, 2024 · AGPL (>= 3) | file LICENSE

Description

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.

Downloads

3.4K

Last 30 days

2257th

11.6K

Last 90 days

38.6K

Last year

Trend: -28.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

gmp

Dependency Network

Dependencies Reverse dependencies gmp round

Version History

7 tracked
new 0.21-0.2 Mar 10, 2026
updated 0.21-0.2 ← 0.21-0.1 diff Jan 9, 2024
updated 0.21-0.1 ← 0.21-0 diff Dec 6, 2023
updated 0.21-0 ← 0.20-0 diff Oct 11, 2023
updated 0.20-0 ← 0.12-2 diff Jan 4, 2021
updated 0.12-2 ← 0.12-1 diff Jul 6, 2020
new 0.12-1 Jan 23, 2020