SyntaxFix
Write A Post
Hire A Developer
Questions
Simply do it this way...
Double d = 13.5578; int i = d.intValue(); System.out.println(i);