[thelist] formatting numbers in ASP

Jacques Capesius jacques_capesius at cnt.com
Wed Oct 2 13:57:04 CDT 2002


Hello,

Is there a function in ASP	that I can use to display 1234567 as
1,234,567 ?

not that i know of, but you can cheat:

dim numstr
numstr = replace(formatcurrency(1234567),"$","")
numstr = replace (numstr,".00","")
response.write(numstr)

hth



More information about the thelist mailing list