dec2base function

Convert an integer from decimal notation into a string of numeric digits in some base.