const formatNumber = (number = 0) => { return new Intl.NumberFormat().format(number); // return number.toFixed(2); }; export default formatNumber