Integer == null?
#7

Integer's or Floats cannot be null they can be 0 but they cant be null
But strings can be null and they can be a 0 or anything else

It will be nice if you tell us for what you use it and what you want to do with it
You always can use some value as NULL

What i mean is: you can set integer to -1 or 999 or -999 or whatever value you will never use and than if integer have that value next time you check than you can say its a null
Reply


Messages In This Thread
Integer == null? - by TheXIII - 15.05.2011, 14:23
Re: Integer == null? - by Raimis_R - 15.05.2011, 14:35
Re: Integer == null? - by __ - 15.05.2011, 14:45
Re: Integer == null? - by Skylar Paul - 15.05.2011, 14:46
Re: Integer == null? - by TheXIII - 15.05.2011, 14:52
Re: Integer == null? - by __ - 15.05.2011, 14:53
Re: Integer == null? - by DRIFT_HUNTER - 15.05.2011, 15:22
Re: Integer == null? - by Sinner - 15.05.2011, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)