Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for [old] Number Base by mozurin
"use strict";
function numberRadix(str_number, radix)
{
return (
isNaN(parseInt([...str_number].sort().reverse(), radix))?
-1 : parseInt(str_number, radix)
);
}
June 25, 2018