Help write in Javascript laconically. Already сhecked number (9 characters; 0 < Foo < 100) needs to be rounded to two SIGNIFICANT digits after the dot. That is, all empty digits (digit='0') after the dot must be saved, and the next two digits must be saved. Round off the rest (rather than discard). And if there is an integer part - just round up to hundredths.
0.123456 -> 0.12
0.023456 -> 0.023
0.003456 -> 0.0035
0.000456 -> 0.00046
21.000456 -> 21
21.019999 -> 21.2