[thelist] formatting numbers in ASP

miinx lists at miinx.com.au
Wed Oct 2 08:46:08 CDT 2002


Peter Duchateau wrote:
> Is there a function in ASP    that I can use to display 1234567 as
> 1,234,567 ?

try

FormatNumber(yourNumber,0,0,-2)

this will group the digits with the user's group delimiter as specified
in the control panel for their regional settings.  (usually ",")

hth,
Karen
-------
Miinx Design & Development
e :: karen at miinx.com.au
p :: 0413.880.302
w :: www.miinx.com.au





More information about the thelist mailing list