I was running tests on my software and found that some of the values it was producing weren't correct.
I decided to step through the code and noticed that the variables I had assigned to textbox values when hovered over said empty, even though when hovering over the textbox assigned to it, the value inputted by the user showed.
For Example,
when hovered over said
even though
when hovered over.
So say I have a formula shortly after, that says
n when hovered over says empty and d is made 0 when it shouldn't be.
Someone told me if I switch it around to
it should be recognised but it is still not.
What could possibly be causing this? 
Copy of my actual coding (I'm trying to price options using the binomial tree pricing method):
Bookmarks