Thread
:
Division fails when using an int variable
View Single Post
11-01-2019, 10:30 AM
#
3
theducks
Well trained by Cats
Posts: 31,225
Karma: 60807154
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
When you make an Int from a small fraction, you
could
end up with a zero .
You really need to test for that before attempting division
theducks
View Public Profile
Find More Posts by theducks
Track Posts by theducks via RSS