0

This is a simple question. I have two double numbers in VB.NET 2.0.

A = 226.8
B = 224.4

Dim result As Double = A - B

And what I got in result is 2.4000000000000057

Why is .NET putting there all those zeroes???

Thanks a lot

haim770
  • 48,394
  • 7
  • 105
  • 133
rmartrenado
  • 1,516
  • 1
  • 18
  • 42

0 Answers0