react-circle-slider icon indicating copy to clipboard operation
react-circle-slider copied to clipboard

Tooltip has trouble displaying floating point values. Shows expanded decimal instead of rounded.

Open Rahul-Vig opened this issue 5 years ago • 1 comments

For example I set a range from 1 to 1.4 and at certain increments the tooltip will display 1.3800000000000001

Rahul-Vig avatar Nov 21 '19 22:11 Rahul-Vig

Got the same issue with a range from 0.3 to 5, with 0.1 increments: some values are not rounded properly. For example, 0.9 becomes 0.9000000000000001

benjaminbillet avatar Jul 16 '20 14:07 benjaminbillet