Decimal vs Float (Single) or Double
When you need to deal with a number that is a fraction, what do you specify for its type? If you are like most programmers I know, you’ll reach for Float (Single if you are using VB) or Double.
If you are working with currency, though, this could get you into a lot of trouble.
Here’s why.
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

