Solved

currency variables in .net

Posted on 2011-02-24
4
379 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 62

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now