numform - { double myNumber = 3.14159 DecimalFormat df1 =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 /** Main.javaCreated */ import java.text.DecimalFormat import java.text.NumberFormat public class Main { public Main() { } public static void main(String[] args)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { double myNumber = 3.14159 DecimalFormat df1 = new DecimalFormat("###.00") System.out.print(df1.format(myNumber)) } }...
View Full Document

This homework help was uploaded on 04/07/2008 for the course CSCI 161 taught by Professor Webster during the Spring '08 term at Millersville.

Ask a homework question - tutors are online