This is a migrated thread and some comments may be shown as answers.

Wrong value when floating point number - Angular 4

1 Answer 153 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Georgi
Top achievements
Rank 1
Georgi asked on 23 Aug 2017, 11:42 AM

Hello,

I have a problem, when using floating point number as smallStep property i get uncorrect values and eventually the button of the slider stops working (does not want to increment or decrement after number)

Here is an example of the problem: Plnkr

Thank  you!

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 25 Aug 2017, 08:30 AM
Hello,

Thank you for the bug report. Seem like problem caused by rounding errors. I have logged an issue and we will look into it.

Regards,
Daniel
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Slider
Asked by
Georgi
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or