|
| |
|
|
wizard_oz
Posts: 140 Joined: 9/3/2004 From: Ga,USA Status: offline
|
formatcurrency - 2/27/2006 5:42:45
Hi, I have some numbers from my DataBase and I would like to show them as a currency, I am using the command Response.Write "<td align=right>" & formatcurrency(rs("price")) & "</td>" But it doen't work, If I'm deleting the formatcurrency, it is workning. Does anyone habe any idea about it? Thanks,Elen
|
|
|
|
rdouglass
Posts: 9272 From: Biddeford, ME USA Status: offline
|
RE: formatcurrency - 2/27/2006 11:23:08
quote:
formatcurrency(rs("price")) Try this: formatcurrency(rs("price"),2) You need that parameter in there to tell formatcurrency how many decimal places to use. It is a required item.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|