This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes data type for currency computations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

data type for currency computations


Joined: Jun 25, 2003
Posts: 8
What would be the best programming practice with regards to data type used for currency calculations in Java?
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Didn'[t you just post this? In this very forum? Please don't post the same thing multiple times, whether in the same forum or in different forums. Follow-ups can go here. Thanks.
[ June 25, 2003: Message edited by: Jim Yingst ]

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: data type for currency computations
Similar Threads
Data type for currency computations
Modeling quantities in domain model
calculating sum for numeric(currency) columns and displaying it with currency code in a JTable
double or float
Cannot store money value from Resultset