- This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Slider › Numbers after decimal point
Tagged: custom decimal value length, custom elements, decimal, precision, precisionDigits, slider, smart component, smart element, smart slider
Hello !
I’m using a slider without scale marks that has it’s scale type set to floatingPoint. Also i’ve set the showTooltip property in order to have the tooltip. The problem is that i want the value to only have two numbers after the decimal point. Is that possible ? If possible, can you give me a code snippet please.
Thank you
Hello hansT,
To achieve this, please set the property precisionDigits, i.e.:
<smart-slider show-tooltip precision-digits="2"></smart-slider>
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.com