Skip to content

Commit

Permalink
Update Main.java (#158)
Browse files Browse the repository at this point in the history
Update Main.java (#158)

Co-authored-by: VacancyIF <[email protected]>
  • Loading branch information
ByteLegendBot and VacancyIF committed Nov 23, 2023
2 parents d2f9e88 + 88d14cc commit 7eac9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/bytelegend/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class Main {
public static double divide(int a, int b) {
return a / b;
return 1.0 * a / b;
}

public static void main(String[] args) {
Expand Down

0 comments on commit 7eac9f3

Please sign in to comment.