From d5eecb1f507b5fc1ed67ef42c94fa74245345cd8 Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Fri, 27 Jan 2006 12:04:15 +0000 Subject: Fixed bug 808 --- cpp/demo/Ice/throughput/Client.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/demo/Ice/throughput/Client.cpp') diff --git a/cpp/demo/Ice/throughput/Client.cpp b/cpp/demo/Ice/throughput/Client.cpp index e342ea31d3e..e61514e5a7e 100644 --- a/cpp/demo/Ice/throughput/Client.cpp +++ b/cpp/demo/Ice/throughput/Client.cpp @@ -10,6 +10,8 @@ #include #include +#include + using namespace std; using namespace Demo; @@ -351,7 +353,7 @@ ThroughputClient::run(int argc, char* argv[]) { mbit *= 2; } - cout << "throughput: " << mbit << " Mbps" << endl; + cout << "throughput: " << setprecision(5) << mbit << "Mbps" << endl; } else if(c == 's') { -- cgit v1.2.3