Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_decimal.py2214 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')
/external/python/cpython2/Lib/
Ddecimal.py2563 def to_integral_exact(self, rounding=None, context=None): member in Decimal
5376 def to_integral_exact(self, a): member in Context
5404 return a.to_integral_exact(context=self)
/external/python/cpython2/Doc/library/
Ddecimal.rst899 .. method:: to_integral_exact([rounding[, context]])
1465 .. method:: to_integral_exact(x)