moki
Programmer
- Dec 5, 2000
- 37
Can someone please explain to me why a varable defined as single with a decimal * 100 comes out as a fraction?
sample:
dim sngx as single
sngx = 8.40
debug.print sngx * 100 ' results in 839.9999
Why doesn't it result to 840?
I'm probably the only one who is missing something here.
sample:
dim sngx as single
sngx = 8.40
debug.print sngx * 100 ' results in 839.9999
Why doesn't it result to 840?
I'm probably the only one who is missing something here.