Hi There,
I'm trying to declare a long in my application.
like this:
public long a = 0.6;
but I get an error saying it's expecting a long but I put a double, so I try this:
public long a = 0.6L;
but now Greenfoot is telling me I need ";" before the L.
What am I doing wrong?
Also, is this statement valid:
if(long > double) { do stuff }
or does it need to be :
if(long > long) { do stuff }
Thanks.