|
| |
|
|
kitty6
Posts: 153 Joined: 10/15/2005 Status: offline
|
rounding - 8/28/2007 16:25:37
How can I get the following code to stop rounding? Thanks. <% response.write formatpercent( cLng(sale41001) / cLng(salestotal) ) %>
|
|
|
|
BeTheBall
Posts: 6381 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
RE: rounding - 8/28/2007 17:55:38
The formatpercent function rounds by default. However, you can tell the function how many digits to round to. Try this: <% response.write formatpercent( cLng(sale41001) / cLng(salestotal),10) %>
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
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
|
|
|