Attempt to get degree value with the wrong data-type