jonyBravo
02 Jul 2007, 03:31 AM
Hi there
My website is built in ASP and in one of my pages I've got some calculations to display the result in percentages. The problem is when it is divided by 3 or 6 or 9 etc give me a total like 33.33333333333%.
What code can I use to make only dilsplay 33.3%?
my code is as follow:
Session("team") = team * 100 / maxlist
example:
if maxlist = 3 and team = 1 session("team")= 33.33333333
Thanks in advance
My website is built in ASP and in one of my pages I've got some calculations to display the result in percentages. The problem is when it is divided by 3 or 6 or 9 etc give me a total like 33.33333333333%.
What code can I use to make only dilsplay 33.3%?
my code is as follow:
Session("team") = team * 100 / maxlist
example:
if maxlist = 3 and team = 1 session("team")= 33.33333333
Thanks in advance