+ 1

Problem

I new on this because this code don't work , I don't know the problem because the code always put 0 on screen

29th Jan 2017, 11:54 AM
The Guayguy
The Guayguy - avatar
2 Antworten
+ 4
var All43 = 3.0 / 4.0; You did 3 / 4 which is 0 because 3 and 4 are integers so / does integer division.
29th Jan 2017, 12:00 PM
Jafca
Jafca - avatar
+ 4
Also, next time post your relevant code in the question description, maybe a link to the code for quicker access or tell us the title of your program. 👍
29th Jan 2017, 12:03 PM
Jafca
Jafca - avatar