-
Notifications
You must be signed in to change notification settings - Fork 2
Types
DaAwesomeP edited this page Aug 11, 2015
·
1 revision
There are a 4 different options for the precision of the heading returned. The options are 0, 1, 2, and 3 as integers and are available as in the string and integer functions. The table below shows which headings will be outputted under each type. For everything except North, the input must be above the minimum value and below the maximum. For North, it must be above the minimum or below the maximum.
For types 0, 1, and 2, if the input degrees are exactly at the point in between headings, then 0
or ERR
will be output. The best way around this is to round your degrees or find one hundredth above or below the degrees should you get an error response.
Integer | String | Long name | Minimum Degrees | Maximum Degrees |
---|---|---|---|---|
1 | N | North | 315.00° (NW) | 45.00° (NE) |
9 | E | East | 45.00° (NE) | 135.00° (SE) |
17 | S | South | 135.00° (SE) | 225.00° (SW) |
25 | W | West | 225.00° (SW) | 315.00° (NW) |
Integer | String | Long name | Minimum Degrees | Maximum Degrees |
---|---|---|---|---|
1 | N | North | 337.50° (NNW) | 22.50° (NNE) |
5 | NE | Northeast | 22.50° (NNE) | 67.50° (ENE) |
9 | E | East | 67.50° (ENE) | 112.50° (ESE) |
13 | SE | Southeast | 112.50° (ESE) | 157.50° (SSE) |
17 | S | South | 157.50° (SSE) | 202.50° (SSW) |
21 | SW | Southwest | 202.50° (SSW) | 247.50° (WSW) |
25 | W | West | 247.50° (WSW) | 292.50° (WNW) |
29 | NW | Northwest | 292.50° (WNW) | 337.50° (NNW) |
Integer | String | Long name | Minimum Degrees | Maximum Degrees |
---|---|---|---|---|
1 | N | North | 348.75° (NbW) | 11.25° (NbE) |
3 | NNE | North-northeast | 11.25° (NbE) | 33.75° (NEbN) |
5 | NE | Northeast | 33.75° (NEbN) | 56.25° (NEbE) |
7 | ENE | East-northeast | 56.25° (NEbE) | 78.75° (EbN) |
9 | E | East | 78.75° (EbN) | 101.25° (EbS) |
11 | ESE | East-southeast | 101.25° (EbS) | 123.75° (SEbE) |
13 | SE | Southeast | 123.75° (SEbE) | 146.25° (SEbS) |
15 | SSE | South-southeast | 146.25° (SEbS) | 168.75° (SbE) |
17 | S | South | 168.75° (SbE) | 191.25° (SbW) |
19 | SSW | South-southwest | 191.25° (SbW) | 213.75° (SWbS) |
21 | SW | Southwest | 213.75° (SWbS) | 236.25° (SWbW) |
23 | WSW | West-southwest | 236.25° (SWbW) | 258.75° (WbS) |
25 | W | West | 258.75° (WbS) | 281.25° (WbN) |
27 | WNW | West-northwest | 281.25° (WbN) | 303.75° (NWbW) |
29 | NW | Northwest | 303.75° (NWbW) | 326.25° (NWbN) |
31 | NNW | North-northwest | 326.25° (NWbN) | 348.75° (NbW) |
Integer | String | Long name | Minimum Degrees | Maximum Degrees |
---|---|---|---|---|
1 | N | North | 354.38° | 5.62° |
2 | NbE | North by east | 5.63° | 16.87° |
3 | NNE | North-northeast | 16.88° | 28.12° |
4 | NEbN | Northeast by north | 28.13° | 39.37° |
5 | NE | Northeast | 39.38° | 50.62° |
6 | NEbE | Northeast by east | 50.63° | 61.87° |
7 | ENE | East-northeast | 61.88° | 73.12° |
8 | EbN | East by north | 73.13° | 84.37° |
9 | E | East | 84.38° | 95.62° |
10 | EbS | East by south | 95.63° | 106.87° |
11 | ESE | East-southeast | 106.88° | 118.12° |
12 | SEbE | Southeast by east | 118.13° | 129.37° |
13 | SE | Southeast | 129.38° | 140.62° |
14 | SEbS | Southeast by south | 140.63° | 151.87° |
15 | SSE | South-southeast | 151.88° | 163.12° |
16 | SbE | South by east | 163.13° | 174.37° |
17 | S | South | 174.38° | 185.62° |
18 | SbW | South by west | 185.63° | 196.87° |
19 | SSW | South-southwest | 196.88° | 208.12° |
20 | SWbS | Southwest by south | 208.13° | 219.37° |
21 | SW | Southwest | 219.38° | 230.62° |
22 | SWbW | Southwest by west | 230.63° | 241.87° |
23 | WSW | West-southwest | 241.88° | 253.12° |
24 | WbS | West by south | 253.13° | 264.37° |
25 | W | West | 264.38° | 275.62° |
26 | WbN | West by north | 275.63° | 286.87° |
27 | WNW | West-northwest | 286.88° | 298.12° |
28 | NWbW | Northwest by west | 298.13° | 309.37° |
29 | NW | Northwest | 309.38° | 320.62° |
30 | NWbN | Northwest by north | 320.63° | 331.87° |
31 | NNW | North-northwest | 331.88° | 343.12° |
32 | NbW | North by west | 343.13° | 354.37° |