Formatted numeric output: Difference between revisions
Content deleted Content added
Add BaCon |
No edit summary |
||
Line 808: | Line 808: | ||
print using "0000#.###"; 7.125 |
print using "0000#.###"; 7.125 |
||
</lang> |
</lang> |
||
Output: |
|||
<pre> |
|||
00007.125 |
|||
</pre> |
|||
=={{header|Gambas}}== |
|||
<lang gambas>Public Sub Main() |
|||
Print Format("7.125", "00000.000") |
|||
End</lang> |
|||
Output: |
Output: |
||
<pre> |
<pre> |