Old Russian measure of length: Difference between revisions
m
→{{header|J}}: Use debian standard install location for J
m (→{{header|J}}: Use debian standard install location for J) |
|||
Line 1,529:
Translation of python.
<syntaxhighlight lang="j">
#!/usr/bin/ijconsole
UNIT2MULT=: |:_2 (; ".)&;/\;:'arshin 0.7112 centimeter 0.01 diuym 0.0254 fut 0.3048 kilometer 1000.0 liniya 0.00254 meter 1.0 milia 7467.6 piad 0.1778 sazhen 2.1336 tochka 0.000254 vershok 0.04445 versta 1066.8'
Line 1,549 ⟶ 1,550:
NB. for use from os command line only:
exit echo conv }.ARGV</syntaxhighlight>
If this were named <code>ormol</code>
<pre>
$
8 meter to:
┌──────────┬──────────┐
|