On Mit, 19 Mär 2003, Jens Krüger wrote: > There exists a better way. Define a macro like the following dependend on > existence of a round function in the math lib. > > #define round(x) (int(x + 0.5)) This macro does not work when x is negative. -- Dirk