Hi,
This seems a ridiculously simple problem but I can't seem to figure out whats going wrong (maybe I'm looking at it too long):
I'm trying to cast a double to an int but I keep getting an error "syntax error: type".
The code is really simple:
double mn;
int int_k;
mn = 6.0;
int_k = int(mn);
What could be causing the problem?
Thanks in advance.