RosettaCodeData/Task/Formatted-numeric-output/MATLAB/formatted-numeric-output.m

3 lines
43 B
Matlab

>> disp(sprintf('%09.3f',7.125))
00007.125