Fixed code style to remove explicit casting op.

· Separated binary operators
This commit is contained in:
Marcelo Camargo 2016-02-14 03:47:05 -02:00
parent 0ae177fefb
commit bddc1a9ed3
1 changed files with 1 additions and 1 deletions

View File

@ -52,6 +52,6 @@ public class LineItem {
@Override
public String toString() {
return String.format("(item: %s, qty: %s, price: %.2f %s)",
name, quantity, priceInMicros/(double)1000000, currencyCode);
name, quantity, priceInMicros / 1000000d, currencyCode);
}
}