Original Post
hey, im making a program for my college course in JAVA and can't find anywhere in the texts books how to format a double to have 0 decimal places when i put it in a outfile. i know the "%.2f" command, which displays the number to 2 decimal places but i cant figure it out how to make it to just an integer...if anyone has anyidea at all PPPLLEEEAAASSE let me know thanks yoU! [Edited by - jpetrie on September 21, 2009 10:30:13 AM]