MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / formatNumber

Function formatNumber

scripts/bench-ci-compare.mjs:693–696  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

691}
692
693function formatNumber(value) {
694 if (value === null || value === undefined) return "n/a";
695 return Number(value).toFixed(6);
696}
697
698function formatPercent(value) {
699 if (value === null || value === undefined || !Number.isFinite(value)) return "n/a";

Callers 3

formatThresholdFunction · 0.70
markdownTableFunction · 0.70
printConsoleSummaryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected