Skip to content

Change increment is not accurate #139

@CuteLittleSky

Description

@CuteLittleSky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions