parseIntparseInt(文字列) 文字列だが中身が数字の時 文字から数値に変換する。 基本中の基本 var ten ="10"; ans=ten+5;//105 ans=parseInt("ten")+5//15