Closed OldRugger closed 4 years ago
Bugfix for https://github.com/roo-rb/roo/issues/310.
Round float value before converting to integer
I added a simple spec to cover the issue reported in issue-310 and one of the ones I ran into.
Coverage increased (+0.04%) to 94.405% when pulling f56addc009bbb29e19c4385f309084f76b06f521 on OldRugger:issue-310_off_by_one into 4ec1104f0c3c2a29711c0c907371cd2be12bcc3c on roo-rb:master.
Summary
Bugfix for https://github.com/roo-rb/roo/issues/310.
Round float value before converting to integer
Other Information
I added a simple spec to cover the issue reported in issue-310 and one of the ones I ran into.