I been trying and trying to get my formula to work but it just won't calculate the right way..
Its the formula for braking distance.
The formula: (int(Speed.Text)/3.6^2) / (2*Car.Car.Friction*9.81)
Every single time it has calculated the wrong number
For example if i put the "Speed.Text as 120 and Car.Car.Friction as 0.9 i will get 3.14 and thats not right at all. It should have been 27.9
Could anyone correct the code so it calculates right?