What I need is this behaviour:
Input: 2.11, 2.12, 2.13, 2.14, 2.15, 2.16
Output for all cases: 2.2
JavaScipt native toFixed(1) gives 2.2 only if input is greater then 2.15
Please pardon me if this is duplicate. But I didn't find such question.
Please tell me if the title of the question is misleading and I should rename it.
Appreciate your help.