Solved

currency variables in .net

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

680 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