From cfc2710414ab8f32aa38554ccba883c94f9556ed Mon Sep 17 00:00:00 2001 From: George Bisbas Date: Thu, 20 Jul 2023 11:51:35 +0300 Subject: [PATCH] misc: Add decimal point to TB --- devito/tools/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devito/tools/utils.py b/devito/tools/utils.py index 777859feb0..16f0987930 100644 --- a/devito/tools/utils.py +++ b/devito/tools/utils.py @@ -301,4 +301,4 @@ def humanbytes(B): elif GB <= B < TB: return '%.1f GB' % round(B / GB, 1) elif TB <= B: - return '%.1f TB' % round(B / TB, 1) + return '%.2f TB' % round(B / TB, 1)