Added grouping of digits in results (works for all radixes).