MCPcopy
hub / github.com/redpanda-data/console / toDecimalSeparated

Function toDecimalSeparated

frontend/src/utils/utils.ts:624–626  ·  view source on GitHub ↗
(num: number)

Source from the content-addressed store, hash-verified

622}
623
624export function toDecimalSeparated(num: number): string {
625 return String(num).replace(/\B(?=(\d{3})+(?!\d))/g, ',');
626}
627
628/**
629 * random digits and letters (entropy: 53bit)

Callers

nothing calls this directly

Calls 1

StringInterface · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…