Link to home
Start Free TrialLog in
Avatar of vbnetcoder
vbnetcoder

asked on

currency variables in .net

What is the best variable to use when handeling currency values in .net?
ASKER CERTIFIED SOLUTION
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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"
Avatar of vbnetcoder
vbnetcoder

ASKER

That is what i though. Thank you.
ty