I've been having some trouble with a little math i've been doing in Java. Long story short, when I do:
double totalS = 1146.35;
double down = 114.63;
result = totalS - down;
And the result for this comes out as 1031.7199999999998, when doing this easy equation on a calculator produces 1031.72. Any idea?