Task

Express a number in decimal as a fixed-length string with leading zeros.



For example, the number   7.125   could be expressed as   00007.125.




Transcript show: (7.125 printPaddedWith: $0 to: 3.6); cr.
"output: 007.125000"