Non-decimal radices/Convert: Difference between revisions

Content added Content deleted
(C#)
m (→‎{{header|Matlab / Octave}}: These are two languages)
Line 1,251: Line 1,251:
26</pre>
26</pre>


=={{header|Matlab / Octave}}==
=={{header|MATLAB}} / {{header|Octave}}==
Use the built-in functions base2dec() and dec2base:
Use the built-in functions base2dec() and dec2base():
<lang Matlab>dec2base(26,16)
<lang Matlab>dec2base(26,16)
base2dec('1a', 16)</lang>
base2dec('1a', 16)</lang>