I
I
Ilya Lavrentyev2019-06-24 16:44:11
infographics
Ilya Lavrentyev, 2019-06-24 16:44:11

How to calculate equal parts of a range in JS or PHP?

Good afternoon, colleagues! ))
There is such a slider. The maximum and minimum number is specified (dynamic, comes in a variable). Tell me how you can break the range of these numbers into parts. I mean to display the interval in the specified places. I hope I explained clearly))
5d10d3a77ec99516479547.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2019-06-24
@lavrentyev

(444-60)/4 - division step.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question