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

Function _format_number

Lib/decimal.py:6143–6178  ·  view source on GitHub ↗

Format a number, given the following data: is_negative: true if the number is negative, else false intpart: string of digits that must appear before the decimal point fracpart: string of digits that must come after the point exp: exponent, as an integer spec: dictionary resultin

(is_negative, intpart, fracpart, exp, spec)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__format__Method · 0.85

Calls 4

_format_signFunction · 0.85
_insert_thousands_sepFunction · 0.85
_format_alignFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected