MCPcopy Create free account
hub / github.com/Effect-TS/effect / formatNumber

Function formatNumber

packages/effect/typeperf/compare.mjs:207–207  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

205}
206
207const formatNumber = (value) => value.toLocaleString("en-US")
208const formatSigned = (value) => value === 0 ? "0" : `${value > 0 ? "+" : ""}${formatNumber(value)}`
209
210const printTable = (rows) => {

Callers 2

formatSignedFunction · 0.70
printTableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected