Quote:
> Hi,
> I encounted a Single type BUG.. :
> dim a as single
> a=0.0001
> debug.print a*1000
> instead of 0.1 the result is 99.99999999e-2
> any ideas ?
> Thanks
> Ariel.
Not a bug, it's due to how floating point numbers are stored. fractional
part is stored as a series of the form 1/2^n. check microsoft site
articles on IEEE floating point format.