Searched refs:to_sci_string (Results 1 – 4 of 4) sorted by relevance
3626 d = c.to_sci_string(Decimal(10))3627 self.assertEqual(c.to_sci_string(10), d)3628 self.assertRaises(TypeError, c.to_sci_string, '10')4334 self.assertEqual(c.to_sci_string(x), '1e+222')
5472 def to_sci_string(self, a): member in Context
675 such as :meth:`to_eng_string` and :meth:`to_sci_string`.
1522 .. method:: to_sci_string(x)