Dear Community,
I would like to produce output of a two-digit number like 7.2 as 7.200, a three-digit number like 27.2 as 27.20, and a four-digit number like 127.2 as 127.2. I tried
NumberForm[7.2, 4, NumberPadding -> {"", "0"}]
but it produced verbatim 7.2, not 7.200. Even though the following would produce what I want for 27.2
NumberForm[27.2, {4, 2}, NumberPadding -> {"", "0"}]
it wouldn't produce what I want for 7.2 or 127.2.
Any suggestion for this petty question is much appreciated!