Can anyone help me jow to do it.
"0.0":"Integer value accepted",
"1.0":"Decimals are not allowed!",
"1.1":"Culd not convert to number!"
v=Number(v); err=+(v%1!=0)+'.'+ +(v!=v);
Manual check example" integerCheck("1.121") //will alert >>decimals not allowed...
But your teacher might want to know -where did you get it?!! (badly)