-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Using "add tiebreaker to initiative roll" should round extra floating point digits #1075
Comments
That's a purely cosmetic bug that has been around forever. It doesn't hurt anything. |
toFixed returns a string, so is initiative being turned back into a float again before being output in the html? Seems like it needs another toFixed(2) when rendering the output. |
yes, we make that into a string, something like |
Using "add tiebreaker to initiative roll" with Foundry VTT, on occasion the initiative is displayed in Foundry with extra digits in the decimal (e.g. 7.1400000000001)
could this be truncated, or rounded to 2 decimal points?
The text was updated successfully, but these errors were encountered: