change var to number