Formatted numeric output: Difference between revisions
Content deleted Content added
add link to Delphi for pascal |
|||
Line 758: | Line 758: | ||
fixedprint(7.125, 5) --> 00007.125</lang> |
fixedprint(7.125, 5) --> 00007.125</lang> |
||
=={{header|Mathematica}}== |
|||
<lang Mathematica>StringJoin[ToString /@ PadLeft[Characters[ToString[ 7.125]], 9]] |
|||
->"00007.125"</lang> |
|||
=={{header|MATLAB}}== |
=={{header|MATLAB}}== |