Skip to content

Commit

Permalink
refactor: 개행 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jjongwa committed Jun 6, 2023
1 parent 6fb696e commit cc8e9d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/cart/domain/discountpolicy/PointPolicy.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
public class PointPolicy {

private static final double EARNED_RATE = 0.01;

public int calculateEarnedPoint(int totalPrice) {
return (int) (totalPrice * EARNED_RATE);
}
Expand Down

0 comments on commit cc8e9d5

Please sign in to comment.