On 2002-11-23 at 18:09:38 [+0100], you wrote: > Have you tried including math.h, it seems to have an assortment > of round functions. I recall a recent discussion about round Yep, I tried, but my math.h doesn't have a round() function. > being missing from PPC, use floorf (f for float, leave it off > for double) of (value + 0.5f). Though there may be problems > with negative number rounding in that case. I used the same trick.