[thelist] formatting numbers in ASP

Jay Blanchard jay.blanchard at niicommunications.com
Wed Oct 2 08:46:00 CDT 2002


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

The FormatNumber function

FormatNumber(expression,[, numdigitsafterdecimal[, includeleadingdigit[,
useparensfornegativenumber[, groupDigits]]]])

FormatNumber("1234567", 0, vbFalse, vbFalse, vbTrue)

HTH!

Jay





More information about the thelist mailing list