RosettaCodeData/Task/Formatted-numeric-output/R/formatted-numeric-output-2.r

3 lines
44 B
R

formatC(x, width=9, flag="0")
# "00007.125"