samedi 25 juillet 2015

Testing if a value is numeric

How can we write a test that checks if a value is numeric, and through an exception is the value is not numeric? Do we need regular expressions in this case?

Thanks.

Aucun commentaire:

Enregistrer un commentaire