MCPcopy Create free account
hub / github.com/cursor/plugins / formatFraction

Function formatFraction

orchestrate/skills/orchestrate/scripts/measurements.ts:223–225  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

221}
222
223function formatFraction(value: number): string {
224 return `${(value * 100).toFixed(1)}%`;
225}
226
227function collapseWhitespace(value: string): string {
228 return value.replace(/\s+/g, " ").trim();

Callers 1

compareMeasurementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected