fix degrees_to_cardinal, cast degrees as number not string