diff --git a/proxmox-tui-installer/src/options.rs b/proxmox-tui-installer/src/options.rs index 30a5b7e..ff5d94e 100644 --- a/proxmox-tui-installer/src/options.rs +++ b/proxmox-tui-installer/src/options.rs @@ -232,7 +232,7 @@ impl fmt::Display for Disk { // https://lists.proxmox.com/pipermail/pbs-devel/2023-May/006125.html write!( f, - "{} ({} GiB)", + "{} ({:.2} GiB)", self.path, (self.size as f64) / 1024. / 1024. / 1024. )