mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-15 17:51:07 +00:00
When converting to SI or IEC, produce values that align with the conventions used by GNU numfmt. - values > 10 are represented without a decimal place, so 10000 becomes 10K instead of 10.0K - when truncating, take the ceiling of the value, so 100001 becomes 101K - values < 10 are truncated to the highest tenth, so 1001 becomes 1.1K closes #1726 |
||
|---|---|---|
| .. | ||
| gnutest_iec-i_result.txt | ||
| gnutest_iec_input.txt | ||
| gnutest_iec_result.txt | ||
| gnutest_si_input.txt | ||
| gnutest_si_result.txt | ||