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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Percent Format Help

Status
Not open for further replies.

anon007

Programmer
Oct 23, 2007
71
0
0
US
What I need to do is have this 0.00% look like 0% this should be easy but I am have a brain melt tonight. Yhe code below has an error when I use it any help?

<%=FormatPercent(session("ABC",1))%>
 
Do you mean:
Code:
<%=FormatPercent(session("ABC"[b][red])[/red][/b],1)%>

Lee
 
Wow I thought I tried that, that is what I am needing but now it gives the value 0.0% what I need is for it to give 0%
 
got it this is what I needed.

<%=FormatPercent(session("ABC"),0)%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top