Why am I getting an error when checking if a string can be an double

java check if number is integer or double
how to check if a string contains only numbers in java
java check if input is integer
java check if input is integer or string
check if string is number java
how to check whether a number is integer or float in java
java check if string is double
check if string is number python