MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / formatNumber

Function formatNumber

src/bin/codegraph.ts:274–276  ·  view source on GitHub ↗

* Format a number with commas

(n: number)

Source from the content-addressed store, hash-verified

272 * Format a number with commas
273 */
274function formatNumber(n: number): string {
275 return n.toLocaleString();
276}
277
278/**
279 * Format duration in milliseconds to human readable

Callers 4

createVerboseProgressFunction · 0.70
printIndexResultFunction · 0.70
offerIndexIgnoredReposFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected