else if (scale.get_units()> 'num1') {
It hardly makes sense to compare a float to a character. Why are you doing that? While you are trying to determine the answer to that question, please post a picture of your keyboard with the SINGLE key labeled num1 circled.