No jQuery required for this, Plain Ol' JS (tm) will do ya,

parseInt(a, 10);