[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: RE: (OT) Unsloved issue in C
From: "Jozef Kosoru" <jkosoru () qbsw ! sk>
Date: 2001-10-09 15:45:39
[Download RAW message or body]
> Hi,
>
> I writed a programm wich calculates in Coordinates. That program
> icludes a
> function wich tranforms a coorinate writed in degrees, minutes,
> and seconds
> to a decimal form (X.xxxx).
>
> The function is like that:
Try:
double Deg2Dez (double _degrees, double _minutes, double _seconds) {
return (_degrees + (_minutes * (1.0 / 60.0)) + (_seconds * (1.0 /
3600.0)));
}
Jozef Kosoru
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic