Check if a String is numeric value
static bool isNumeric(String s) { try { double.parse(s); return true; } catch(e) {} return false; }