> I do believe the time is in seconds (buggered if i know why they used a
> float32 for that).
>
> So just do
>
> h = time / 3600
> time = time - (h * 3600)
> m = time / 60
> time = time - (m * 60)
> s = time

No.  It's a float, you know, a number with a decimal point in it.  Like,
3.14159, 1.41421, 1.23456789, etc.

You need to represent the number as an IEEE floating point data type.  See
this...

http://www.clipx.net/ng/msc51/ng6a66d.php

Jeffrey "botman" Broome


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to