summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/throughput/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Ice/throughput/Client.cpp')
-rw-r--r--cpp/demo/Ice/throughput/Client.cpp4
1 files changed, 3 insertions, 1 deletions
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 <Ice/Ice.h>
#include <Throughput.h>
+#include <iomanip>
+
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')
{