Non-decimal radices/Convert: Difference between revisions

Added Wren
(Added Wren)
Line 3,052:
input box: (99 base 12)+(77 base 8)<br>
This is Mathematica but is worth showing distinctly. Result provides endian choice and other bases typically.
 
=={{header|Wren}}==
{{libheader|fmt}}
The methods Conv.itoa and Conv.atoi in the above module provide the required functionality.
<lang ecmascript>import "/fmt" for Conv
 
System.print(Conv.itoa(26, 16))
System.print(Conv.atoi("1a", 16))</lang>
 
{{out}}
<pre>
1a
26
</pre>
 
 
=={{header|XPL0}}==
9,476

edits