Fixed code style to remove explicit casting op.
· Separated binary operators
This commit is contained in:
parent
0ae177fefb
commit
bddc1a9ed3
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue