Searched refs:to_integral_exact (Results 1 – 2 of 2) sorted by relevance
2190 d = c.to_integral_exact(Decimal(10))2191 self.assertEqual(c.to_integral_exact(10), d)2192 self.assertRaises(TypeError, c.to_integral_exact, '10')
2537 def to_integral_exact(self, rounding=None, context=None): member in Decimal5328 def to_integral_exact(self, a): member in Context5356 return a.to_integral_exact(context=self)