Files
oh-my-pi/packages/utils/src
can1357 641dad3f9f fix(utils): adjusted compact number formatting to trim redundant decimals
- 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.
2026-05-03 07:39:52 +02:00
..
2026-02-22 11:01:11 +01:00
2026-02-22 11:01:11 +01:00
2026-02-22 11:01:11 +01:00