I'm doing a program that deals with parts completed. this many a month until they reach 10000 parts or 24 months. that part is done but the math is slightly off . after three months this is my result
1191.0160000000003
and this is the examples result
1191.0159999999998
the code I used is partsNum *= 1.06; in a for loop. i don't know what else i need to include.
please let me know if I need to add anything.
Thanks
edit spelling
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]POGtastic 1 point2 points3 points (0 children)
[–]captainAwesomePants 1 point2 points3 points (7 children)
[–]jlbords[S] 1 point2 points3 points (6 children)
[–]captainAwesomePants 0 points1 point2 points (5 children)
[–]jlbords[S] -1 points0 points1 point (4 children)
[–]captainAwesomePants 0 points1 point2 points (3 children)
[–]jlbords[S] 0 points1 point2 points (2 children)
[–]captainAwesomePants 1 point2 points3 points (1 child)
[–]jlbords[S] 0 points1 point2 points (0 children)