fungsi untuk merubah DMS/HMS ke Double jika true maka positif, jika false maka negatif
decimal
degree, minute, second, check: Boolean