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

Method _round

Lib/decimal.py:2542–2563  ·  view source on GitHub ↗

Round a nonzero, nonspecial Decimal to a fixed number of significant figures, using the given rounding mode. Infinities, NaNs and zeros are returned unaltered. This operation is quiet: it raises no flags, and uses no information from the context.

(self, places, rounding)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__format__Method · 0.95

Calls 3

_rescaleMethod · 0.95
adjustedMethod · 0.95
DecimalClass · 0.85

Tested by

no test coverage detected