mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-20 17:11:12 +00:00
c1d141bea3
Before it was a bug when flooring negative numbers added to the length of the number for the sprintf mask. For example -0.091 becomes -9.1 in percentage, floors to -10 which is going to increase $wholePartSize by 1 and add a leading zero to the result: -09.1% with format 0.0%. This happened for negative ranges where floor will increse the length of the original number.