Closed sunilpandey closed 3 years ago
The {decimal: 0}
you are using should be {decimals: 0}
(you are missing the s
).
Thanks for quick support however Issue still persist. It looks like you are formatting and parsing with 2 decimal digits that is why when custom formatter is not applied it is working fine. Once custom formatter is applied this becomes a problem and internal value is wrong with fraction. In ideal scenario If all three value min, max and step are numeric then it should never return a fractional value.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am creating slider with following configuration noUiSlider.create(slider, { start: 20, connect: true,
});
However when I am moving the handle to 4000 slider is returning value 3999.9999..5 instead. Please find related plunkr https://plnkr.co/edit/WEGWt1edqXGm3aXQ