Searched refs:to_eng_string (Results 1 – 4 of 4) sorted by relevance
1442 self.assertEqual(type(d.to_eng_string()), str)2202 d = c.to_eng_string(Decimal(10))2203 self.assertEqual(c.to_eng_string(10), d)2204 self.assertRaises(TypeError, c.to_eng_string, '10')
1050 def to_eng_string(self, context=None): member in Decimal5340 def to_eng_string(self, a): member in Context5366 return a.to_eng_string(context=self)
884 .. method:: to_eng_string([context])1456 .. method:: to_eng_string(x)
674 such as :meth:`to_eng_string` and :meth:`to_sci_string`.