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

Method quantize

Lib/decimal.py:5045–5101  ·  view source on GitHub ↗

Returns a value equal to 'a' (rounded), having the exponent of 'b'. The coefficient of the result is derived from that of the left-hand operand. It may be rounded using the current rounding setting (if the exponent is being increased), multiplied by a positive power of ten

(self, a, b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_convert_otherFunction · 0.85
quantizeMethod · 0.45

Tested by

no test coverage detected