Merge pull request #791 from haskellcamargo/master
Fixed code style to remove explicit casting op.
This commit is contained in:
commit
6f15cd0060
@ -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
Block a user