PyDocs

Nav

Numeric and Mathematical Modules

Decimal.to_integral_value

decimal

method of Decimal
  • Decimal.to_integral_value(rounding=None, context=None)
Round to the nearest integer without signaling Inexact or Rounded.

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_value.
See Also
No see-alsos for decimal/Decimal.to_integral_value
0 Notes
No notes for Decimal.to_integral_value