Eraserhead macrumors G4 Original poster Aug 6, 2006 #1 Is it possible to format output to a text file from Java (ie limiting the number of decimal places shown of numbers.) in a similar way to using printf to print formatted text on the screen.
Is it possible to format output to a text file from Java (ie limiting the number of decimal places shown of numbers.) in a similar way to using printf to print formatted text on the screen.
HiRez macrumors 603 Aug 6, 2006 #2 Use the NumberFormat class with its format() method to output to your file stream.