641dad3f9f
- Updated `formatNumber` to use a helper that removes trailing `.0` for compact K/M/B values. - Adjusted small-value branches so exact thousands and millions now format as whole units while keeping one decimal for fractional values. - Revised the function comment examples to match the new `1K` and `1M` outputs.