Convert any array of numbers to an array of proportional values with a max value of 100

前端 未结 0 526
一个人的身影
一个人的身影 2021-02-05 06:57

If I were to receive an array of numbers, how do I convert the numbers proportionally to some max value? For example, the acceptable range of numbers output must be between and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题