long datatype rounding?
Given two long values a = -86399999 and b = 86400000, a/b gives me 0. If the values were of type double the result is -0.999999988425926. Why am I not getting float = -1? Is there a way to get long = -1 in this case?Thanks for any input.