-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 same rounding logic between Rewards panels and Ads panel #20128
Comments
Note that floating point rounding can differ between |
Verified
Steps:
Confirmed that both
NOTE: I also checked the new-tab page widget; just didn't screenshot it each time 👍 Verified with
Additionally, modified ad value in DB to ensure rounding was invoked.
Verified Brave | 1.36.90 Chromium: 98.0.4758.87 (Official Build) beta (64-bit) New profile
Brave | 1.37.46 Chromium: 98.0.4758.87 (Official Build) nightly (64-bit) New profile
|
Description
The estimated earning found earning found in brave://rewards/ show to different value. Most likely cause by the different rounding off method use
Actual result:
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
Brave | 1.33.106 Chromium: 96.0.4664.110 (Official Build) (64-bit)
Revision | d5ef0e8214bc14c9b5bbf69a1515e431394c62a6-refs/branch-heads/4664@{#1283}
OS | Windows 10 Version 21H2 (Build 19044.1348)
The text was updated successfully, but these errors were encountered: