Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
function formatPercent(value: number) {
23
return `${value.toFixed(1)}%`
24
}
25
26
function getDeltaClass(value: number) {
27
if (value < 0) {
Callers
1
BenchmarkPage
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected