I\'m querying a database and some of the results I\'m getting are null. I\'m setting these values to a variable with a datatype of double. Let\'s call the variable \"results
I would recommend using a Double not a double as your type then you check against null.