I want to check For EXAMPLE:
12 - 13 - 14 - 15
12 / 3 = 4 -> OK.
13 / 3 = 4.33 -> NOT OK.
14 / 3 = 4.67 -> NOT OK.
15 / 3 = 5 -> OK.
I want to create a while loop where i use the number i want to divide to 3 as "x".
so:
var x = 0
while (x<20) {
//SOMETHING HERE
x++;
}
Something like that but i dont know the command to check if the sum is a decimal number or not.
Than i want to see the "OK. numbers" in my web browser with a documetn.write( OK numbers )