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

Function formatPercent

tests/loadtest/tools/dashboard/app.js:1417–1419  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1415}
1416
1417function formatPercent(value) {
1418 return value === null || value === undefined ? "n/a" : `${(value * 100).toFixed(1)}%`;
1419}
1420
1421function formatMs(value) {
1422 if (value === null || value === undefined) {

Callers 7

renderRunListFunction · 0.85
renderSummaryGridFunction · 0.85
renderReliabilityChartFunction · 0.85
renderChecksFunction · 0.85
renderCompareChecksFunction · 0.85
buildStatsFunction · 0.85
formatThresholdValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected