View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003468 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2011-12-29 15:10 | 2012-12-10 13:44 |
Reporter | tjungcl | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.6 revision 40808 | ||||
Fixed in Version | 4.5.7 revision 41909 | ||||
Summary | 0003468: utils->fround function doesnt round correct | ||||
Description | in oxutils fround there is a workaround for the known php bug #36008. however, the workaronud has a bug in it: it _adds_ $dprez, even if $sVal is negative, making it worse when rounding negative numbers !! To fix, replace last line with: return round($sVal + $dprez * ($sVal>=0?1:-1), $iCurPrecision); | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||