const numberFormat = number => { try { return number.toString().replace(/\B(?=(\d{3})+(?!\d))/g, '.'); } catch (e) {} };
No comments:
Post a Comment