Price Range Slider have decimal places for null
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Hi
for the price Range Slilder we use Range Slider – Ion.RangeSlider js library but our value for null is not 0, it is 0.899999999999
and the hight too 1432,94999
example https://1000-brands.com/beauty/
can you help us please.
In the Range Slider documentation, you can find a way to customize your slider display.
For instance, to round decimals:
wpsolr_ion_range_slider_options = { grid: true, prefix: "€", prettify: function my_prettify (n) {
return Math.floor(n);
}};
You must be logged in to reply to this topic.