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

Fixed fuel percentage. #4

Merged
merged 2 commits into from
Dec 11, 2016
Merged

Fixed fuel percentage. #4

merged 2 commits into from
Dec 11, 2016

Conversation

piepie62
Copy link
Contributor

Before it did percents of percents.

I noticed that the fuel percentage was wrong because you had the percentage calculated on line 241 with the Math.ceil() function was being converted into a percentage and then back to a decimal. I fixed it.

@piepie62
Copy link
Contributor Author

I just changed the PR to follow the format for all the others and have two trailing digits.

@acidjazz
Copy link
Owner

@piepie62 looks good, much appreciated

@acidjazz acidjazz closed this Dec 11, 2016
@acidjazz acidjazz reopened this Dec 11, 2016
@acidjazz acidjazz merged commit 8cb7d24 into acidjazz:master Dec 11, 2016
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