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

Floating Point Issue When Converting kg to t #107

Closed
WarLord211 opened this issue Apr 17, 2016 · 3 comments
Closed

Floating Point Issue When Converting kg to t #107

WarLord211 opened this issue Apr 17, 2016 · 3 comments
Labels
Milestone

Comments

@WarLord211
Copy link

WarLord211 commented Apr 17, 2016

Its me again. The first issue dont show up, because github thought i was a spam bot?!
Now it should work :)

I changed the weight to tonns (also i change the language to german) and by some trailers it shows up to 16 decimal Places like:

15,3450000005 t

or like in the screenshot
zwischenablage01

is there a way to round this to two decimal places?

@WarLord211 WarLord211 changed the title To manyh Dezimal Places at To many Dezimal Places at weight Apr 17, 2016
@mike-koch mike-koch changed the title To many Dezimal Places at weight Floating Point Issue When Converting kg to t Apr 17, 2016
@mike-koch
Copy link
Owner

Well, this is the first time I have encountered GitHub blocking an issue due to a suspected "spam bot" 😆. It looks like the original issue (#103) reappeared, but thanks for opening another issue along with a screenshot 😄 . This is definitely an issue and can be easily fixed. How many decimal places are shown in-game? Or are there no decimal places shown at all?

@mike-koch mike-koch added this to the 3.3.0 milestone Apr 17, 2016
@WarLord211
Copy link
Author

WarLord211 commented Apr 17, 2016

in-game there are no decimal places.

i think 1 or 2 would be good. Like in some documents from the DOT.

@mike-koch
Copy link
Owner

This has been fixed for version 3.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants