Last active
June 30, 2018 03:39
-
-
Save dariogabriel113/99e5b63f4251dfb94142bdcff0ffd6b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestFloatingPoint{ | |
public static void main(String[] args){ | |
double salary = 1250.70; | |
System.out.println("My salary is " + salary); | |
double division = 5.0 / 2; | |
System.out.println("division: " + division); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment