D
Dave Brown
Hi all,
I'm having trouble understanding which data type to use to get results I
expect.
using float, decimal, and double I have tried the following, ..
float test = 55/60;
I always get 0 as the results.
I expect 0.916666
I dont understand why its rounding down. Any pointers anybody ?
Rgds,
Dave
I'm having trouble understanding which data type to use to get results I
expect.
using float, decimal, and double I have tried the following, ..
float test = 55/60;
I always get 0 as the results.
I expect 0.916666
I dont understand why its rounding down. Any pointers anybody ?
Rgds,
Dave