Searched refs:to_integral_exact (Results 1 – 3 of 3) sorted by relevance
2214 d = c.to_integral_exact(Decimal(10))2215 self.assertEqual(c.to_integral_exact(10), d)2216 self.assertRaises(TypeError, c.to_integral_exact, '10')
2563 def to_integral_exact(self, rounding=None, context=None): member in Decimal5376 def to_integral_exact(self, a): member in Context5404 return a.to_integral_exact(context=self)
899 .. method:: to_integral_exact([rounding[, context]])1465 .. method:: to_integral_exact(x)