Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#459 Rounding: Wrong for negative numbers

open
nobody
None
5
2012-09-15
2006-06-02
Curt Mills
No

Throughout the code, if there's a possibility for
negative numbers and we're doing poor-man's rounding,
we're doing it wrong. We need to add a -1 count
instead of a +1 count in these instances.

Discussion