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

Use HALF_UP RoundingMode to match Liquid spec #108

Merged
merged 1 commit into from
Nov 13, 2018
Merged

Use HALF_UP RoundingMode to match Liquid spec #108

merged 1 commit into from
Nov 13, 2018

Conversation

mbaumbach
Copy link
Contributor

@mbaumbach mbaumbach commented Nov 13, 2018

Fix for issue #106. Defaults to using the HALF_UP RoundingMode to match Liquid's spec for round:

Rounds an input number to the nearest integer or, if a number is specified as an argument, to that number of decimal places.

@mbaumbach mbaumbach changed the title Use to HALF_UP RoundingMode to match Liquid spec Use HALF_UP RoundingMode to match Liquid spec Nov 13, 2018
@bkiers
Copy link
Owner

bkiers commented Nov 13, 2018

Thanks @mbaumbach!

@bkiers bkiers merged commit 872c410 into bkiers:master Nov 13, 2018
@mbaumbach mbaumbach deleted the feature/106-Round-half-up branch November 13, 2018 18:54
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.

2 participants