Home
last modified time | relevance | path

Searched refs:format_scientific (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/
Di18n.rst32 format_currency, format_percent, format_scientific, parse_date,
53 .. autofunction:: format_scientific
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Di18n.py559 def format_scientific(self, number, format=None): member in I18n
578 return numbers.format_scientific(number, format=format,
773 def format_scientific(number, format=None): function
775 return get_i18n().format_scientific(number, format)
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_i18n_test.py319 self.assertEqual(i18n.format_scientific(10000), u'1E4')
320 self.assertEqual(i18n.format_scientific(1234567, u'##0E00'), u'1.23E06')