TO FIND WHETHER THE GIVEN 10 DIGIT NUMBER IS NUMERIC OR NOT USING VBSCRIPT

<html>

<body>
<script type="text/vbscript">

dim j

j=inputbox("Enter any 10 Digit number")

 if isnumeric(j) then

       document.write(j&"     is numeric"&"<br>")
else
      document.write(j&"     is not numeric"&"<br>")
end if
</script>
</body>
</html>

No comments:

Post a Comment