MCPcopy
hub / github.com/CapSoftware/Cap / formatFps

Function formatFps

apps/desktop/src/routes/editor/PerformanceOverlay.tsx:169–169  ·  view source on GitHub ↗
(fps: number)

Source from the content-addressed store, hash-verified

167 });
168
169 const formatFps = (fps: number) => fps.toFixed(1);
170 const formatMs = (ms: number) => ms.toFixed(2);
171
172 const copyStatsToClipboard = async () => {

Callers 2

copyStatsToClipboardFunction · 0.85
PerformanceOverlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected