diff --git a/tests/data/Style/NumberFormat.php b/tests/data/Style/NumberFormat.php index af8a74edc..8a1320569 100644 --- a/tests/data/Style/NumberFormat.php +++ b/tests/data/Style/NumberFormat.php @@ -1509,4 +1509,45 @@ return [ 12345.74, '[$€]#,##0.00" Surplus for Product #12-345";$-#,##0.00" Shortage for Product #12-345"', ], + // Scaling + [ + '12,000', + 12000, + '#,###', + ], + [ + '12', + 12000, + '#,', + ], + [ + '0', + 120, + '#,', + ], + [ + '0.12', + 120, + '#,.00', + ], + [ + '12k', + 12000, + '#,k', + ], + [ + '12.2', + 12200000, + '0.0,,', + ], + [ + '12.2 M', + 12200000, + '0.0,, M', + ], + [ + '1,025.13', + 1025132.36, + '#,###,.##', + ], ];