Don't give nonsense results for non-integer bases