diff --git a/Code/Common/otbStandardOneLineFilterWatcher.cxx b/Code/Common/otbStandardOneLineFilterWatcher.cxx
index 272186aa49003e1b6954e50df008aff1ccec80f1..392c43e62df747d5a24366a3536e4922e87fe2b1 100644
--- a/Code/Common/otbStandardOneLineFilterWatcher.cxx
+++ b/Code/Common/otbStandardOneLineFilterWatcher.cxx
@@ -109,9 +109,16 @@ StandardOneLineFilterWatcher
 ::EndFilter()
 {
   m_TimeProbe.Stop();
+
+  // Ensure we don't depend on std::cout configuration
+  std::ostringstream elapsedTime;
+  elapsedTime.precision(1);
+  elapsedTime << m_TimeProbe.GetMeanTime();
+
   std::cout << " ("
-            << m_TimeProbe.GetMeanTime()
+            << elapsedTime.str()
             << " seconds)"
             << std::endl;
 }
+
 } // end namespace otb