MCPcopy Create free account
hub / github.com/base/base / number

Function number

etc/scripts/ci/render_fresh_devnet_bench.py:27–30  ·  view source on GitHub ↗
(value: object, precision: int = 0)

Source from the content-addressed store, hash-verified

25
26
27def number(value: object, precision: int = 0) -> str:
28 if not isinstance(value, (int, float)):
29 return "—"
30 return f"{value:,.{precision}f}"
31
32
33def duration(value: object) -> str:

Callers 2

summary_valuesFunction · 0.85
prefetch_block_innerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected