MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / to_integral_value

Method to_integral_value

Lib/decimal.py:2594–2608  ·  view source on GitHub ↗

Rounds to the nearest integer, without raising inexact, rounded.

(self, rounding=None, context=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

__hash__Method · 0.95
_power_moduloMethod · 0.95
to_integral_valueMethod · 0.45

Calls 4

_check_nansMethod · 0.95
_rescaleMethod · 0.95
getcontextFunction · 0.85
DecimalClass · 0.85

Tested by

no test coverage detected