MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / pct

Function pct

scripts/fungrim/guard-census.ts:213–214  ·  view source on GitHub ↗
(n: number, d: number)

Source from the content-addressed store, hash-verified

211 ];
212
213 const pct = (n: number, d: number): string =>
214 d === 0 ? '—' : `${((100 * n) / d).toFixed(1)}%`;
215
216 console.log(
217 `\nFungrim guard-dischargeability census — ${processed} entries with ` +

Callers 1

mainFunction · 0.70

Calls 1

toFixedMethod · 0.80

Tested by

no test coverage detected