Dim nVal As Long
Dim nPrice As Double
nPrice = 8.95
nVal = nPrice * 100
nVal returns 894.
How is this possible?
If I use 2.95, it's okay. (or all other numbers I have tested until now)
Dim nPrice As Double
nPrice = 8.95
nVal = nPrice * 100
nVal returns 894.
How is this possible?
If I use 2.95, it's okay. (or all other numbers I have tested until now)