79594215

Date: 2025-04-26 17:33:05
Score: 1
Natty:
Report link

Very simple with a Regex

 private static boolean isNumeric(String str){
        return str != null && str.matches("[0-9.]+");
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: hamil.Dev