The Artima Developer Community
Sponsored Link

Java Answers Forum
Need Formating Currency Help: New to Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Brook

Posts: 12
Nickname: brook
Registered: Sep, 2002

Need Formating Currency Help: New to Java Posted: Sep 11, 2002 6:16 AM
Reply to this message Reply
Advertisement
I need to format to currency. I would like to do it using "import java.text.NumberFormat", but I don't know how or understand.

Example: I want to add .50, .60, .40. These three numbers would be formatted uisng the (0.##) "I guess", then the "Total" would be, using the numbers above $1.50 . How do I do that? I know how in Visual Basic, but can't seem to figure the code out in Java as I am new to Java. THANKS.

Topic: Looking for an image-button-applet Previous Topic   Next Topic Topic: REGEXP

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use