restrict to base 10 conversion