Files
vscode-codeql/extensions/ql-vscode/src/pure/number.ts
2022-09-16 13:18:21 +02:00

10 lines
248 B
TypeScript

/*
* Contains an assortment of helper constants and functions for working with numbers.
*/
const numberFormatter = new Intl.NumberFormat('en-US');
export function formatDecimal(value: number): string {
return numberFormatter.format(value);
}