MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / formatPercent

Function formatPercent

benchmarks/aggregate-benchmarks.mjs:80–82  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

78}
79
80function formatPercent(value) {
81 return typeof value === 'number' ? `${value.toFixed(1)}%` : '—'
82}
83
84function timestampId() {
85 return new Date().toISOString().replace(/[:.]/g, '-')

Callers 1

buildMarkdownReportFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected