File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/java/com/thealgorithms/maths
test/java/com/thealgorithms/maths Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ public Builder format(String format) {
331331
332332 public Builder format (int decimalPlace ) {
333333 String pattern = "."
334- + "#" .repeat (decimalPlace );
334+ +"#" .repeat (decimalPlace );
335335 DecimalFormat formater = new DecimalFormat (pattern );
336336 String num = formater .format (number );
337337 number = Double .parseDouble (num );
Original file line number Diff line number Diff line change 11package com .thealgorithms .maths ;
22
3- import static org .junit .jupiter .api .Assertions .assertEquals ;
43import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
4+ import static org .junit .jupiter .api .Assertions .assertEquals ;
55
66import org .junit .jupiter .api .Test ;
77
You can’t perform that action at this time.
0 commit comments