I’m trying to round a number to the next highest 0.1 decimal point. For example if I have 2.51 I want it to be rounded up to 2.6, 3.91 to 4, 4.12 to 4.2 etc.
I’ve tried the following however this just rounds to nearest nearest 0.1 decimal and not the next 0.1
4.41.toFixed(1);
This rounds to 4.4 not 4.5 as intended