Anonymous user
Non-decimal radices/Convert: Difference between revisions
Scala solution added
m (→{{header|R}}) |
(Scala solution added) |
||
Line 2,734:
<tr align=right><td> 61</td><td> 23</td><td>2f</td><td>61</td></tr></table>
=={{header|
<lang Scala>def backToBig(num: String, oldBase: Int): BigInt = BigInt(num, oldBase)
def bigToBase(num: BigInt, newBase: Int): String = num.toString(newBase)</lang>
=={{header|Seed7}}==
|