diff options
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")) { |