Android Utililty Methods Int Base Convert

List of utility methods to do Int Base Convert


The list of methods to do Int Base Convert are organized into topic(s).


intfromBase36(String base36Number)
Converts a given Base36 value into its deciamal equivalent.
return fromOtherBaseToDecimal(36, base36Number);
intfromOtherBaseToDecimal(int base, String number)
Converts a number from another base to the decimal counting system
int iterator = number.length();
int returnValue = 0;
int multiplier = 1;
while (iterator > 0) {
    returnValue = returnValue
            + (baseDigits.indexOf(number.substring(iterator - 1,
                    iterator)) * multiplier);
    multiplier = multiplier * base;