Skip to content

v1.0.0 content of range select lists displays numbers with many decimal places for certain interval values #6

@itsozz

Description

@itsozz

Example: distance in km with a minimum of 0.1, maximum of 1 and an interval of 0.1 produces the following:

0.1 km
0.2 km
0.30000000000000004 km
0.4 km
0.5 km
0.6 km
0.7 km
0.7999999999999999 km
0.8999999999999999 km
0.9999999999999999 km

The reason this happens is outlined on https://floating-point-gui.de/

Metadata

Metadata

Assignees

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