diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-01-27 12:04:15 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-01-27 12:04:15 +0000 |
commit | d5eecb1f507b5fc1ed67ef42c94fa74245345cd8 (patch) | |
tree | cca307d6b6f9782eaa611fedd9bdad94cf3de858 /java/demo/Ice/throughput/Client.java | |
parent | fix for bug 836: deprecation warnings in generated code (diff) | |
download | ice-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.java | 2 |
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")) { |