>>>>> On Thu, 1 Sep 2011 16:35:39 +0100, Dave Shield 
>>>>> <[email protected]> said:

DS> -    return (int)( value * 100 / total );
DS> +    return (int)( value / (total/100) );
DS> }

DS> I'd like to see this included in 5.7.1
DS> Votes please....

+1.  Though it's subject to rounding errors that way.  Either way you
loose something.
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to