| 473 | // A similar modulus function: Convert an integer to value from 1-12. |
| 474 | |
| 475 | int Mod12(int i) |
| 476 | { |
| 477 | while (i > cSign) |
| 478 | i -= cSign; |
| 479 | while (i < 1) |
| 480 | i += cSign; |
| 481 | return i; |
| 482 | } |
| 483 | |
| 484 | |
| 485 | // Convert an inputed fractional degrees/minutes value to a true decimal |
no outgoing calls
no test coverage detected