307
307
if kwargs.get('computation', False):
308
308
# fixed min decimal value
311
313
decimals = decimals.rstrip('0')
312
314
# if less than two digits, we add padding - possible improvement, add the padding size in the decimal precision object
313
315
if len(decimals) < min_digits:
314
316
decimals = decimals + '0'*(min_digits - len(decimals))
316
319
result = val + unicode(numbers.get_decimal_symbol(locale) + decimals)