Comment toNum().
Add static digitsInBase and toString.