restrict number parsing to current base