SyntaxFix
Write A Post
Hire A Developer
Questions
Why don't you simply try
System.out.println(1500/1000.0); System.out.println(500/1000.0);