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

mail: tip amount rounded off to 2 decimals showing cause incorrect amount on mail #103

Closed
thelostone-mc opened this issue Dec 9, 2017 · 1 comment

Comments

@thelostone-mc
Copy link
Member

The tip amount is rounded off to two decimal places in the mail template when a tip is rewarded to a user.

I was a given a tip of 0.075

The email : (rounded off tip -> was a tad bit bummed out )

screen shot 2017-12-09 at 2 51 01 am

The redeem page shows the right amount : (realized it was just a template issue 😛 )

screen shot 2017-12-09 at 12 37 45 pm

Fix

round the amount to 3 decimal places (I'm going ahead and assuming the smallest tip we do is 0.001 ) that way avoiding inconsistent data as well making sure we don't mess up the UI template of the mail

@owocki
Copy link
Contributor

owocki commented Dec 11, 2017

thanks again aditya :)

ethikz pushed a commit to ethikz/web that referenced this issue Jan 24, 2018
owocki pushed a commit that referenced this issue Apr 30, 2021
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

No branches or pull requests

2 participants