Skip to content

Commit 31af39d

Browse files
authored
Update MathBuilder.java
1 parent 5c885b4 commit 31af39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/maths/MathBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public Builder format(String format) {
330330
}
331331

332332
public Builder format(int decimalPlace) {
333-
String pattern = "."
333+
String pattern = "."
334334
+ "#".repeat(decimalPlace);
335335
DecimalFormat formater = new DecimalFormat(pattern);
336336
String num = formater.format(number);

0 commit comments

Comments
 (0)