Simple math brings "number overflow"

I want to know “speed” and dist is a variable. I’m certain its syntactically right but I keep getting “number overflow”. I dont know how to make it any simpler.

How can I make it give an output for speed?

Handheld calculator can to it just fine, yet a desktop can’t??


What types are you using for the variables? Different variable types have different maximum numbers that can be represented. Using System.Single (float) I can’t get it to overflow; the worst that happens is that it incorrectly outputs “infinity” for extremely large numbers.