Not rounding numbers in VBA
You're welcome.
serdar wrote:
ahhh..sorry i knew it from C. thanks very much.
"Rowan Drummond" , haber iletisinde sunlari
...
Long is short for "long integer" so it will store whole numbers only which
is why this is getting rounded up to 4. Change you data type to Single or
Double.
Hope this helps
Rowan
|