mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-08 04:46:26 +00:00
Fix case where mergeComplexNumberFormatMasks would get stuck in endless-loop (#1793)
* Fix case where mergeComplexNumberFormatMasks would get stuck in endless-loop if $numbers had many decimals
This commit is contained in:
@@ -362,4 +362,24 @@ return [
|
||||
25,
|
||||
'[Green][<>25]"<>25 green";[Red]"else red"',
|
||||
],
|
||||
[
|
||||
'pfx. 25.00',
|
||||
25,
|
||||
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
|
||||
],
|
||||
[
|
||||
'pfx. 25.20',
|
||||
25.2,
|
||||
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
|
||||
],
|
||||
[
|
||||
'pfx. -25.20',
|
||||
-25.2,
|
||||
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
|
||||
],
|
||||
[
|
||||
'pfx. 25.26',
|
||||
25.255555555555555,
|
||||
'"pfx." 0.00;"pfx." -0.00;"pfx." 0.00;',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user