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

Show StreamElements tips rounded to 2 decimals #2414

Merged
merged 1 commit into from Nov 6, 2020

Conversation

pettinen
Copy link
Contributor

@pettinen pettinen commented Nov 5, 2020

Currently all tips are rounded to integers at one point or another.
With this patch (amount) will be rounded to 2 decimals.
(amount.toFixed(0)) can still be used for an integer-rounded amount (I removed the superfluous parseInt from that line too).

Currently all tips are rounded to integers at one point or another.
With this patch (amount) will be rounded to 2 decimals.
(amount.toFixed(0)) can still be used to round to an integer.
@gmt2001 gmt2001 merged commit 3ff388d into PhantomBot:master Nov 6, 2020
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.

None yet

2 participants