Check if a character is decimal
bool isDecimalCharacter(String character) { return character.compareTo('0') >= 0 && character.compareTo('9') <= 0; }