Solved

currency variables in .net

Posted on 2011-02-24
4
382 Views
Last Modified: 2012-05-11
What is the best variable to use when handeling currency values in .net?
0
Comment
Question by:vbnetcoder
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 34971522
The decimal datatype
0
 
LVL 63

Expert Comment

by:Fernando Soto
ID: 34971546
Use the Decimal

From the MMicrosoft documentation
"the decimal type has more precision and a smaller range, which makes it appropriate for financial and monetary calculations"
0
 

Author Comment

by:vbnetcoder
ID: 34971569
That is what i though. Thank you.
0
 

Author Closing Comment

by:vbnetcoder
ID: 34971570
ty
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question