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

Change increment is not accurate #139

Open
CuteLittleSky opened this issue Jul 3, 2024 · 1 comment
Open

Change increment is not accurate #139

CuteLittleSky opened this issue Jul 3, 2024 · 1 comment

Comments

@CuteLittleSky
Copy link
Contributor

Expected behavior

I typed 0.03 , it can calculate 0.03

Observed/Actual behavior

image

Steps/models to reproduce

i typed 0.03 , but it shown 0.299999....
It seems that floating point arithmetic is not precise.

BentoBox version

2.4.1

Plugin list

Biomes b260

Other

No response

@CuteLittleSky CuteLittleSky changed the title change increment is not accurate Change increment is not accurate Jul 3, 2024
@BONNe
Copy link
Member

BONNe commented Jul 3, 2024

Welcome to Java :D no floating number is precise enough.
I will make it so it reports only first 3 numbers ;)

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