Hi,

> you are correct with your assumption. However as soon as at least one 
> floating point number is used in the equation, the result should be too, so 
> it should be enough to make 8 an 8.0

So this what I was thinking:
(short) Math.ceil(userData.readShort() / 8.0)

Thanks,
Justin

Reply via email to