You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since the Int() call returns float instead of integer (odd, but I'm not that familiar with VB so maybe it's a compat thing) , we need to cast it to integer so it can get assigned to the existing integer variable from outer scope
Ah yes, you're exactly right it's the fact the variable is declared separately that's throwing off the current code getting the type info. Should be an easy fix.
Input code
Erroneous output
Expected output
since the Int() call returns float instead of integer (odd, but I'm not that familiar with VB so maybe it's a compat thing) , we need to cast it to integer so it can get assigned to the existing integer variable from outer scope
Details
The text was updated successfully, but these errors were encountered: