MCPcopy Create free account
hub / github.com/adobe/react-spectrum / signed

Function signed

perf/report.mjs:251–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249 return [];
250 }
251 let signed = value => {
252 let digits = Math.abs(value).toFixed(2);
253 // Values that round to zero get no minus sign.
254 return `${value < 0 && digits !== '0.00' ? '−' : '+'}${digits}`;
255 };
256 let lines = [
257 '',
258 '## Changes by browser launch',

Callers 2

byLeadFunction · 0.70
launchSectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected