I have a variable of type "Double" (not "double") and I need to convert it to "Integer" (not "int"). Can someone tell me how to do this?
I have tried:
(Integer)MyDouble and I just get "Cannot cast from Double to Integer".
(int)MyDouble and got a similar error.