summaryrefslogtreecommitdiff
path: root/java/demo/Ice/throughput/Client.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-01-27 12:04:15 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-01-27 12:04:15 +0000
commitd5eecb1f507b5fc1ed67ef42c94fa74245345cd8 (patch)
treecca307d6b6f9782eaa611fedd9bdad94cf3de858 /java/demo/Ice/throughput/Client.java
parentfix for bug 836: deprecation warnings in generated code (diff)
downloadice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.tar.bz2
ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.tar.xz
ice-d5eecb1f507b5fc1ed67ef42c94fa74245345cd8.zip
Fixed bug 808
Diffstat (limited to 'java/demo/Ice/throughput/Client.java')
-rw-r--r--java/demo/Ice/throughput/Client.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/demo/Ice/throughput/Client.java b/java/demo/Ice/throughput/Client.java
index 33813e1fa74..a3b7cb652d2 100644
--- a/java/demo/Ice/throughput/Client.java
+++ b/java/demo/Ice/throughput/Client.java
@@ -371,7 +371,7 @@ public class Client extends Ice.Application
{
mbit *= 2;
}
- System.out.println("throughput: " + mbit + " Mbps");
+ System.out.println("throughput: " + new java.text.DecimalFormat("#.##").format(mbit) + "Mbps");
}
else if(line.equals("s"))
{