Adding in function to convert diff to int

seriously.... who enters "-" as a diff...