[Xastir-dev] src/util.c
Curt Mills
archer at eskimo.com
Thu Apr 1 01:19:31 EST 2004
On Wed, 31 Mar 2004, Derrick J Brashear wrote:
> centi_sec += atoi(n)*6;
>
> and i think that last line should be
> centi_sec += atoi(n)*0.6
>
> yes?
Yes. I had to make more improvements though as it ended up
truncating instead of rounding. I'll check in the better code in a
minute.
--
Curt, WE7U. archer at eskimo dot com
http://www.eskimo.com/~archer
Lotto: A tax on people who are bad at math. - unknown
Windows: Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir-dev
mailing list