Jump to content

Non-decimal radices/Convert: Difference between revisions

m
(Added Arturo implementation)
Line 2,147:
</pre>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Use the built-in functions IntegerString[] and FromDigits[]:
<lang Mathematica>IntegerString[26,16]
FromDigits["1a", 16])</lang>
{{out}}
 
Output:
<pre>"1a"
 
26</pre>
 
1,111

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.