int x = Math.round((729/10)); x = 72 OR int x = (int)Math.ceil((729/10)); x = 72 Whatever the number happens to be rounded, I always wanted ...
www.coderanch.com