Well if anyone else is interested, I solved the problem for Integers ONLY.

after you do

whatever = parseInt(Response('var'));

you can then just simply do

if(!whatever)
whatever = right value.


I'm still working on strings.