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

Function formatPercent

docs/src/pages/benchmark.tsx:22–24  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

20}
21
22function formatPercent(value: number) {
23 return `${value.toFixed(1)}%`
24}
25
26function getDeltaClass(value: number) {
27 if (value < 0) {

Callers 1

BenchmarkPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected