fdisk: use 2 decimal places for size in disk summary
In the disk summary it seems nice, but I'm not sure about lists (SIZE
columns). It seems more readable to keep the lists with one decimal
place only. New output:
# sfdisk --list /dev/sda
Old output:
Disk /dev/sda: 223.6 GiB,
240057409536 bytes,
468862128 sectors
New output:
Disk /dev/sda: 223.58 GiB,
240057409536 bytes,
468862128 sectors
The rest is unchanged:
...
Device Start End Sectors Size Type
/dev/sda1 2048 411647 409600 200M EFI System
/dev/sda2 411648 821247 409600 200M Linux filesystem
/dev/sda3 821248
274087935 273266688 130.3G Linux filesystem
/dev/sda4
274087936 378945535 104857600 50G Linux filesystem
/dev/sda5
378945536 468862094 89916559 42.9G Linux filesystem
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=
1673452
Signed-off-by: Karel Zak <kzak@redhat.com>