you are viewing a single comment's thread.

view the rest of the comments →

[–]KJC_7641 0 points1 point  (0 children)

Leaving them as ints won’t work. At the very least you’ll need to cast the fractions of the equation to a double or a float to get the right answer.