Function stripUnit

対象の文字列から単位を除去し数字で返す