Formatted numeric output: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 1,141: | Line 1,141: | ||
<lang Lua> |
<lang Lua> |
||
print(string.format("%09.3d",7.125)) |
print(string.format("%09.3d",7.125)) |
||
</lang> |
|||
=={{header|M2000 Interpreter}}== |
|||
We can use ? as Print |
|||
<lang M2000 Interpreter> |
|||
Print str$(7.125,"00000.000") |
|||
</lang> |
</lang> |
||