r-quantities / units

Measurement units for R
https://r-quantities.github.io/units
175 stars 28 forks source link

Use `floor()` instead of `round()` in `%%` #365

Closed UchidaMizuki closed 9 months ago

UchidaMizuki commented 9 months ago

Fix #364. I have enhanced tests for %% to make sure it behaves correctly.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f56521c) 91.54% compared to head (6ee538e) 91.58%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #365 +/- ## ========================================== + Coverage 91.54% 91.58% +0.03% ========================================== Files 19 19 Lines 994 998 +4 ========================================== + Hits 910 914 +4 Misses 84 84 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Enchufa2 commented 9 months ago

Good catch, thanks!