Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upmonthly statement - AC values sum to amount greater than AC budget #8844
Projects
Comments
|
@mandar-brave what should we do in this case? if we have one decimal place we will always have this rounding problems |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Description
Probably due to rounding, but AC values on the monthly statement (in Auto-Contribute section) sometimes add up to greater than the actual AC amount.
Steps to Reproduce
Actual result:
0.1 + 0.1 + 0.3 + 4.3 + 0.5 = 5.3, but AC amount was only 5.0 BAT

Expected result:
AC values add up to AC budget
Reproduces how often:
fairly easily, number of sites you have and your budget determines how far off you are though.
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
cc @NejcZdovc @mandar-brave