HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 203925 thumbnail
User 410214 avatar

By jhlucena
via javaworld.com
Published: Jul 18 2009 / 05:46

Java programs must often calculate and format financial figures. Towrite Java programs that deal with finances, you must know aboutthe BigDecimal class and numeric formatting. Thisintroductory tutorial shows you how to use BigDecimalto calculate basic financial transactions. In addition, you'lllearn about numeric formatting as it applies to currency. Theresult: your programs will not only calculate financials, but alsodisplay the results in an appropriate form.
  • 10
  • 0
  • 1484
  • 1

Comments

Add your comment
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

The most important thing is that you NEVER ever use double/Double for monetary amounts.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)