add isDigit method, change rabat to double