Right now I'm trying this:

int a = round(n);

where n is a double but it's not working. What am I doing wrong?

Edit
Report