How to do linear scaling in js?

How to make Linear and Nonlinear scaling in JS?
The point is to let the value of Variable #1: 100
In turn, variable #2 was 1000
If variable#1 is valid " 0 " and #2 is also zero
Don't know how it correctly is called)
Do NOT Confuse with multiplication!
June 26th 19 at 14:24
1 answer
June 26th 19 at 14:26

Find more questions by tags HTMLPHP