PhpSpreadsheet/tests/data/Style
oleibman 710f9f17a7
Fraction Formatting (#2254)
* Fraction Formatting

See issue #2253. User's analysis was correct - leading zeros in the decimal portion were being stripped out, so 0.0625 and 0.625 were being treated the same. As it turns out, integers also aren't handled well (`0 0/1` anyone?). The latter problem had been hidden because caller tested for integer first and skipped call if true; but FractionFormatter::format is public and should work correctly regardless. All Phpstan baseline entries for FractionFormatter and NumberFormatter are eliminated. New test data is added; no need for changes to test code.

* Scrutinizer

Ensure result is string.
2021-08-18 11:09:37 -07:00
..
ColorChangeBrightness.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
ColorGetBlue.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
ColorGetGreen.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
ColorGetRed.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
NumberFormat.php Fraction Formatting (#2254) 2021-08-18 11:09:37 -07:00
NumberFormatDates.php formatAsDate strip language metadata (#1618) 2021-01-29 17:14:38 +01:00