lundi 22 juillet 2019

how can I check whether a string is entered using Long object creation

I have an input field of type string in which I enter the amount and I need to check whether the value entered is a sum and not just a character set in if statement example:

1234.5 - ok
123kldhfgsdfh... - not ok

Aucun commentaire:

Enregistrer un commentaire