»
S
I
D
E
B
A
R
«
Java Dollar Sign
April 21st, 2007 by admin

java dollar sign
How do i use decimal format in java programming?

I have a practice problem that a user has to enter a number including decimals, then ask how many decimal places they would like to have to the right , and place commas and a dollar sign in the output statement. I know that I have to convert the int into a string and that is also confusing me too…. Any one who could help me i appreciate it. I also need to understand how to use the number Format and decimal format..

http://download.oracle.com/javase/1.4.2/docs/api/java/text/DecimalFormat.html

http://mindprod.com/jgloss/decimalformat.html

Read those two sites

http://www.homeworkjava.com — visit us


Leave a Reply

»  Substance: WordPress   »  Style: Ahren Ahimsa