Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update round_half_up.R #398

Closed
wants to merge 1 commit into from
Closed

Update round_half_up.R #398

wants to merge 1 commit into from

Conversation

JJSteph
Copy link
Contributor

@JJSteph JJSteph commented Aug 17, 2020

Description

In response to issue #396. Removed trunc() function from round_half_up(). The trunc() function was returning a rounded down value. round_half_up(2436.845, 2) now returns 2436.85.

Related Issue

In response to issue #396.

Example

round_half_up(2436.845, 2) now returns 2436.85.

In response to issue #396. Removed trunc() function from round_half_up(). The trunc() function was returning a rounded down value. round_half_up(2436.845, 2) now returns 2436.85.
@JJSteph JJSteph closed this Aug 17, 2020
@JJSteph JJSteph deleted the fix_round_half_up branch August 18, 2020 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant