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

Improve pricePerYear price calculation precision #3492

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

tonidero
Copy link
Contributor

@tonidero tonidero commented Dec 5, 2023

Description

Followup to #3480

This slightly improves precision when calculating price per year for weekly subscriptions.

@tonidero tonidero added the pr:fix A bug fix label Dec 5, 2023
@tonidero tonidero marked this pull request as ready for review December 5, 2023 14:15
@tonidero tonidero requested a review from a team December 5, 2023 14:15
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ad0f9d9) 86.06% compared to head (9f4b897) 86.06%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3492   +/-   ##
=======================================
  Coverage   86.06%   86.06%           
=======================================
  Files         237      237           
  Lines       17211    17211           
=======================================
+ Hits        14812    14813    +1     
+ Misses       2399     2398    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tonidero tonidero merged commit 4f80eda into main Dec 5, 2023
22 checks passed
@tonidero tonidero deleted the toni/improve-price-per-year branch December 5, 2023 14:41
NachoSoto pushed a commit that referenced this pull request Dec 6, 2023
**This is an automatic release.**

### Bugfixes
* Improve pricePerYear price calculation precision (#3492) via Toni Rico
(@tonidero)
* Improve price per month accuracy for weekly subscriptions (#3480) via
Andy Boedo (@aboedo)
### Dependency Updates
* Bump danger from 9.4.0 to 9.4.1 (#3485) via dependabot[bot]
(@dependabot[bot])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:fix A bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants