hi guys why does this
Dim x As Integer
Dim y As Double
y = 4.664
x = Convert.ToInt32 (y)
give me x=5 ?????
surely it should be 4
it doesnt matter what conversion i do all my integers round up if above .5 and down if below .5
any ideas ? ? ? ?
Dim x As Integer
Dim y As Double
y = 4.664
x = Convert.ToInt32 (y)
give me x=5 ?????
surely it should be 4
it doesnt matter what conversion i do all my integers round up if above .5 and down if below .5
any ideas ? ? ? ?
Comment