mardi 28 janvier 2020

How can I validate if a given number is integer or not in Javascript?

I'm currently validating a form with JavaScript in which the user has to type their id number . I already figure out how to validate if the value is numeric, but I'm struggling to find a way to validate if the given number is integer or not. Thanks for helping me out.

Aucun commentaire:

Enregistrer un commentaire