From 46aea8a4038b2fabd3202b5e332bb33cd67c6b57 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Tue, 20 Feb 2024 17:08:25 +0100 Subject: [PATCH] Improved display of perc --- .../com/helger/phive/ves/engine/load/DefaultVESLoaderXSD.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phive-ves-engine/src/main/java/com/helger/phive/ves/engine/load/DefaultVESLoaderXSD.java b/phive-ves-engine/src/main/java/com/helger/phive/ves/engine/load/DefaultVESLoaderXSD.java index 73b8e009..88667210 100644 --- a/phive-ves-engine/src/main/java/com/helger/phive/ves/engine/load/DefaultVESLoaderXSD.java +++ b/phive-ves-engine/src/main/java/com/helger/phive/ves/engine/load/DefaultVESLoaderXSD.java @@ -357,8 +357,8 @@ public IValidationExecutor loadXSD (@Nonnull final IRepoS aZIPContent.size () + " entries and unzipped " + nUnzippedLed + - " bytes (" + - (nUnzippedLed / nSourceLen * 100) + + " bytes (~" + + ((float) nUnzippedLed / nSourceLen * 100) + "%)"); final LSResourceResolver aResResolver = new SimpleLSResourceResolver ()