Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/01 09:44
Read: times


 
#11935 - RE: Determine a percentage f
"Hi Guy's"
Get rid of that apostrophe!

Do you REALLY need a 7-byte count??!!!!!
Isn't 9 million just a tad OTT!??
Do you really want to calculate percentages to half a dozen decimal places!!??

It'd be a lot simpler to stick to just 1 byte (maybe 2, if you really must).
When one of your counts overflowed, you could then just shift them all down 1 bit.
That's equivalent to dividing them all by two - and because you divide them all by the same number, it doesn't affect the percentage!

List of 2 messages in thread
TopicAuthorDate
Determine a percentage f            01/01/70 00:00      
RE: Determine a percentage f            01/01/70 00:00      

Back to Subject List