From 508adbd00b7e003c0d3f3ef75347e7beb9a16e44 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sun, 25 Jun 2023 11:57:04 +0200 Subject: [PATCH] Small beautification of the Coloquinte bloat factor display. --- etesian/src/EtesianEngine.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etesian/src/EtesianEngine.cpp b/etesian/src/EtesianEngine.cpp index 223c9e41..f189715d 100644 --- a/etesian/src/EtesianEngine.cpp +++ b/etesian/src/EtesianEngine.cpp @@ -848,7 +848,9 @@ namespace Etesian { double densityVariation = getDensityVariation(); double bloatFactor = 1.0 + std::max(spaceMargin - densityVariation, 0.0); if (bloatFactor != 1.0) { - cmess1 << " - Cells inflated by " << bloatFactor << endl; + ostringstream bf; + bf << fixed << setprecision(2) << bloatFactor << "%"; + cmess1 << ::Dots::asString( " - Coloquinte cell bloat factor ", bf.str() ) << endl; } int rowHeight = (getSliceHeight() + vpitch - 1) / vpitch;