Division of two natural numbers results in 0.0

edited November 2018 in Programming Questions

Hi

From some reason println(float(291664/1239570))

results in 0.0

a) Why is that? b) is there a way to solve it?

Tagged:

Answers

Sign In or Register to comment.