|
| |
|
|
kitty6
Posts: 153 Joined: 10/15/2005 Status: offline
|
Percent - 8/27/2007 20:56:55
How do I get the following to display as a percent? 5.76? Thanks <%response.write cLng(aaa) / cLng(salestotal) %>
|
|
|
|
ou812
Posts: 1603 Joined: 1/5/2002 From: San Diego Status: offline
|
RE: Percent - 8/27/2007 21:46:19
You can use the formatpercent function - http://www.w3schools.com/vbscript/func_formatpercent.asp Something like: <% response.write formatpercent( cLng(aaa) / cLng(salestotal) ) %>
_____________________________
-brian EnterpriseDB: Enterprise-class relational database management system PostgreSQL: The world's most advanced open source database
|
|
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
|
|
|