concrete5/concrete5 — pull request #1594 by mlocati (2014-02-10 10:30:50+00:00)
Title: Use NumberHelper->formatSize

- Extend `NumberHelper->formatSize` to allow specifying the wanted size units (for instance: `formatSize(1024)` returns `'1.00 KB'`, but `formatSize(1024, 'bytes')` returns `'1.00 bytes'`)

- Let's use the new `formatSize` method instead in the core