PyDocs

Nav

Numeric and Mathematical Modules

Decimal.to_integral_exact

decimal

method of Decimal
  • Decimal.to_integral_exact(rounding=None, context=None)
Round to the nearest integer.

This method signals Inexact or Rounded as appropriate if rounding
occurs.  The rounding mode is determined by the rounding parameter
if given, else by the given context.  If neither parameter is given,
then the rounding mode of the current default context is used.
0 Examples
No examples for decimal/Decimal.to_integral_exact.
See Also
No see-alsos for decimal/Decimal.to_integral_exact
0 Notes
No notes for Decimal.to_integral_exact