Non-decimal radices/Convert: Difference between revisions
Content added Content deleted
(→{{header|J}}: Added examples of use and reference to #. and #:) |
(→{{header|J}}: Added dual-mode function.) |
||
Line 189: | Line 189: | ||
36 baseLtoN 'zy' |
36 baseLtoN 'zy' |
||
1294 |
1294 |
||
These may be combined so the conversion performed is derived from the type of argument received. |
|||
base=: baseNtoL :: baseLtoN |
|||
16 base 'aa' |
|||
170 |
|||
16 base 170 |
|||
aa |
|||
See also primary verbs [http://www.jsoftware.com/help/dictionary/d401.htm Base] and [http://www.jsoftware.com/help/dictionary/d402.htm Antibase]. |
See also primary verbs [http://www.jsoftware.com/help/dictionary/d401.htm Base] and [http://www.jsoftware.com/help/dictionary/d402.htm Antibase]. |
||