Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating a Table in ASP

Status
Not open for further replies.

TexDec

Programmer
Jul 22, 2002
5
US
I'm building a table of results and I need to format some of the numeric columns as "#,###,##0.00"
Is there a way I can do this within the <td></td> tags?

Thanks
Declan
 
Use the FormatNumber() function.

You would format the number on the server so you would be able to write out the formatted number in a table cell.

Thanks,

Gabe
 
I have formatted the columns in the database, but it has had not effect on the asp. Is there some other tag/option I need to set in order to use the server defined format?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top