But, wait...
when there is a number with .xx i.e. $1000.50
then it messed up.
-------
=~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g;
-------
Are those 3 Ds represent digits backward?
How can we make the number with .xx (2 digits) be done?
Thanks
when there is a number with .xx i.e. $1000.50
then it messed up.
-------
=~ s/(\d\d\d)(?=\d)(?!\d*\.)/$1,/g;
-------
Are those 3 Ds represent digits backward?
How can we make the number with .xx (2 digits) be done?
Thanks