[Uml-devel] kdesdk/umbrello/umbrello

Dirk Mueller mueller at kde.org
Wed Mar 19 08:11:10 UTC 2003


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




More information about the umbrello-devel mailing list