Gossamer Forum
Home : Products : DBMan : Customization :

Re: How to convert xxxx to x,xxx

Quote Reply
Re: How to convert xxxx to x,xxx In reply to
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
Subject Author Views Date
Thread How to convert xxxx to x,xxx santana 1786 Jan 25, 2000, 5:12 PM
Post Re: How to convert xxxx to x,xxx
Chris071371 1712 Jan 25, 2000, 5:49 PM
Post Re: How to convert xxxx to x,xxx
santana 1717 Jan 25, 2000, 5:59 PM
Post Re: How to convert xxxx to x,xxx
Chris071371 1724 Jan 25, 2000, 6:05 PM
Post Re: How to convert xxxx to x,xxx
santana 1727 Jan 26, 2000, 10:17 PM
Post Re: How to convert xxxx to x,xxx
santana 1712 Jan 26, 2000, 10:28 PM
Post Re: How to convert xxxx to x,xxx
Chris071371 1719 Jan 27, 2000, 5:30 AM
Post Re: How to convert xxxx to x,xxx
Eliot 1720 Jan 27, 2000, 8:03 AM