Formatted numeric output: Difference between revisions

→‎min: update
(→‎{{header|Chipmunk Basic}}: Needs improving.)
(→‎min: update)
Line 1,597:
 
=={{header|min}}==
{{works with|min|0.1937.60}}
<syntaxhighlight lang="min">(quotepick conslength ""- repeat joinprefix) :str^left-appendpad
(pick length - repeat swap str-append) :left-pad
 
7.125 string "0" 9 left-pad puts!</syntaxhighlight>
{{out}}
<pre>00007.125</pre>
00007.125
</pre>
 
=={{header|Modula-3}}==
559

edits