Use parseInt() for integer value