What about adding 1-2 decimal points?  Would this minimize the problem without
overcomplicating the graphing?

On Mon, 16 Jun 2003 16:48:37 -0400, Renaud Deraison wrote:

> 
> On Mon, Jun 16, 2003 at 01:35:53PM -0700, Todd A. Jacobs wrote:
> > When generating an HTML report with pie charts, the percentages don't 
> > always make sense. For example, I have one chart with the following 
> > Security Risks percentages:
> > 
> >     67% low
> >     28% medium
> >    + 6% high
> >    ----
> >    101% Oops!
> > 
> > Unless a vulnerability can be in more than one category at the same time, 
> > this is probably an error. :)       
> 
> That's a rounding error. That happens, and if you know how painful
> floating arithmetics can be, then you know that this won't be fixed.
> 
> 
>                               -- Renaud

---
Benjamin Tomhave
[EMAIL PROTECTED]
http://falcon.secureconsulting.net/

Reply via email to