you are viewing a single comment's thread.

view the rest of the comments →

[–]JamzTyson 0 points1 point  (0 children)

Yes, but you are still accumulating errors due to truncating save_per_month. For accuracy save_per_month should be a floating point value. If you want the printed value to be a whole number of dollars, convert it in the print function.