MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/computer_programming/comments/b54n4x/info_in_comments/ejb8po3/?context=3
r/computer_programming • u/tarmitage • Mar 25 '19
8 comments sorted by
View all comments
Show parent comment
1
I doubt this is the issue, but could you try initializing all of your variables at the top to zero? This will make sure that they don’t start with a non-zero value like they would when not initialized.
2 u/tarmitage Mar 25 '19 Thank you for your reply. I tried that and it’s still coming out with the same issue. 2 u/tarmitage Mar 25 '19 Okay I figured it out. Rate needs to be converted to a decimal. 1 u/Arcane_Xanth Mar 25 '19 Ah. That makes sense. Glad you figured it out.
2
Thank you for your reply. I tried that and it’s still coming out with the same issue.
Okay I figured it out. Rate needs to be converted to a decimal.
1 u/Arcane_Xanth Mar 25 '19 Ah. That makes sense. Glad you figured it out.
Ah. That makes sense. Glad you figured it out.
View all comments
Show parent comment
1
u/Arcane_Xanth Mar 25 '19
I doubt this is the issue, but could you try initializing all of your variables at the top to zero? This will make sure that they don’t start with a non-zero value like they would when not initialized.