MCPcopy
hub / github.com/angular/angular / formatNum

Function formatNum

packages/benchpress/src/reporter/util.ts:12–14  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

10import {Statistic} from '../statistic';
11
12export function formatNum(n: number) {
13 return n.toFixed(2);
14}
15
16export function sortedProps(obj: {[key: string]: any}) {
17 return Object.keys(obj).sort();

Callers 2

sampleMetricsMethod · 0.90
formatStatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…