Spreadsheet: Comma(s) are not respected at the end of a number format which causes the number not to be scaled with multiple(s) of 1000
When number format ends with N commas, the resulting number should be divided to 1000 N times. Instead, such commas are ignored.
For example, if the format is #.0,, and the value of the cell is 12,200,000, the number should be displayed as 12.200.0