Thread
:
Help needed writing a program...
View Single Post
#
2
(
permalink
)
11-22-2007, 04:26 AM
staykovmarin
Senior Member
Join Date: Nov 2007
Location: Newport, WA
Posts: 141
Code:
DecimalFormat form = new DecimalFormat("#.00"); double d = 1.70; System.out.println(form.format(d));
You could have a variable that stores how much they have entered, and just give them that much money back?
staykovmarin
View Public Profile
Send a private message to staykovmarin
Find all posts by staykovmarin