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) {
331
331
332
332
public Builder format (int decimalPlace ) {
333
333
String pattern = "."
334
- + "#" .repeat (decimalPlace );
334
+ +"#" .repeat (decimalPlace );
335
335
DecimalFormat formater = new DecimalFormat (pattern );
336
336
String num = formater .format (number );
337
337
number = Double .parseDouble (num );
Original file line number Diff line number Diff line change 1
1
package com .thealgorithms .maths ;
2
2
3
- import static org .junit .jupiter .api .Assertions .assertEquals ;
4
3
import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
4
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
5
5
6
6
import org .junit .jupiter .api .Test ;
7
7
You can’t perform that action at this time.
0 commit comments