FormatPercent Problem
I am trying to use formatPercent to create some percentage figures based on a calculation.
Basically I have a set of functions that store total figures from a database in a variable. One function counts the total number of developers and another counts the total number of developers that answer yes to a question. I am trying to put these variables into formatPercent() but whenever I pass the variables in I get an error.
Basically I need to know if I can pass variables directly into formatPercent or not. I will post the code as soon as I can, I dont have access right now.
View Replies
I have several websites running on a 2003 IIS6 box, all
running basically the same code (each site has its own home directory
and copy of the code). All are running in the same App Pool.
One site gives the 800a0006 error on a formatpercent, another site (on
the same server) does not.
Here's the kicker...the one site only fails if the number is LESS THAN
1.
formatpercent(0.999) ---overflow
formatpercent(1.000) ---100%
The one "abnormality" is that the default script language is set to
jscript, and I call the function via a call to a vbscript block -- but
this works on several other sites on this same server.
View Replies
View Related