export const parseNumberToStringWithCommas = (x: number) => x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')