Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

round function

Hi, I want to round a floating point number before I cast it to an int. So, round 3.6 to 4.0 I try using the function round and the compiler buys it but when I do round(3.6) or r...