MCPcopy Create free account
hub / github.com/microsoft/Webwright / numberFormat

Function numberFormat

assets/compare_trajectory/app.js:43–52  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

41}
42
43function numberFormat(value) {
44 if (value === null || value === undefined || value === '') {
45 return 'n/a';
46 }
47 const number = Number(value);
48 if (!Number.isFinite(number)) {
49 return String(value);
50 }
51 return new Intl.NumberFormat().format(number);
52}
53
54function formatTimestamp(value) {
55 if (!value) {

Callers 8

tokenRowsFromTotalsFunction · 0.85
normalizeCodexFunction · 0.85
normalizeRawResponsesFunction · 0.85
normalizeTrajectoryFunction · 0.85
comparisonRowsFunction · 0.85
tokenTotalDisplayFunction · 0.85
enrichTraceTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected