Lines Matching refs:formatted
185 formatted = percent % ((value,) + additional)
187 formatted = percent % value
189 formatted = _localize(formatted, grouping, monetary)
190 return formatted
193 def _localize(formatted, grouping=False, monetary=False): argument
195 if '.' in formatted:
197 parts = formatted.split('.')
202 formatted = decimal_point.join(parts)
204 formatted = _strip_padding(formatted, seps)
208 formatted, seps = _group(formatted, monetary=monetary)
210 formatted = _strip_padding(formatted, seps)
211 return formatted