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

Round tax amount instead of ceil #690

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Round tax amount instead of ceil #690

merged 1 commit into from
Oct 27, 2021

Conversation

judith
Copy link
Contributor

@judith judith commented Sep 14, 2021

Change the ceil to round in the taxCeil function as tax should be rounded based on regular rounding rules instead of always rounding up to the next value. Update the function name and filename to match the change in functionality.

@coveralls
Copy link

coveralls commented Oct 18, 2021

Coverage Status

Coverage remained the same at 92.292% when pulling 8901926 on round_tax_amount into 3980e45 on master.

Change the ceil to round in the taxCeil function as tax should
be rounded based on regular rounding rules instead of always
rounding up to the next value. Update the function name and
filename to match the change in functionality.
@chrissrogers
Copy link
Member

The builds here are marked failing because the coverage jobs were re-run on unique build ids, causing those jobs to fail. All unit and e2e tests have passed in those builds.

@chrissrogers chrissrogers merged commit ac44e9a into master Oct 27, 2021
@chrissrogers chrissrogers deleted the round_tax_amount branch October 27, 2021 16:53
recurly-integrations pushed a commit that referenced this pull request Nov 9, 2021
[Full Changelog](v4.18.0...v4.18.1)

**Merged Pull Requests**

- Round tax amount instead of ceil [#690](#690) ([judith](https://github.com/judith))

**Closed Issues**

- Outdated types on DefinitelyTyped [#694](#694)

##### Minified MD5 Checksum
```
f5c1a4bfbf8a1fa4314493f1eb413dbb ./build/recurly.min.js
```
##### [SRI Hash](https://www.srihash.org/)
```
lLZfMuhejEXFJ8bD8xn46Ooyw9Z8ZaduUDIYkHko96+mf6mMJXUm6LQ9NOCVTij7
```
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.

3 participants