Anonymous user
Old Russian measure of length: Difference between revisions
m
→{{header|REXX}}: used a template for the output section.
(→{{header|Go}}: Minor improvement.) |
m (→{{header|REXX}}: used a template for the output section.) |
||
Line 1,164:
tell: parse arg $; numeric digits 8; $=$/1; say right($, 40) arg(2)s($); return</lang>
This REXX program makes use of '''LINESIZE''' REXX program (or BIF) which is used to determine the screen width (or linesize) of the terminal (console).
The '''
{{out|output|text= when using the input of: <tt> 100 metres </tt>}}
<pre>
────────────────────────────────────metric─────────────────────────────────────
Line 1,184 ⟶ 1,185:
393626.99 tochkas
</pre>
{{out|output|text= when using the input of: <tt> 1.4058107 arshins </tt>}}
<pre>
────────────────────────────────────metric─────────────────────────────────────
Line 1,202 ⟶ 1,203:
3936.27 tochkas
</pre>
{{out|output|text= when using the input of: <tt> -46.860366 sazhens </tt>}}
<pre>
────────────────────────────────────metric─────────────────────────────────────
|