MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / format_decimal

Function format_decimal

tests/loadtest/tools/dashboard_parser.py:508–509  ·  view source on GitHub ↗
(value: float | None)

Source from the content-addressed store, hash-verified

506
507
508def format_decimal(value: float | None) -> str:
509 return f"{value:.2f}" if value is not None else "n/a"
510
511
512def format_bytes(value: float | None) -> str:

Callers 1

build_statsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected