rounding a float to an integer

Hi all,

I like to round a float to the nearest integer value and assign the value to an integer. How do I do that in C code?

In know it is something with "round" but I can not find the proper syntacs.

Does someone know?

Regards,

Erik

More questions in this forum