convert number, year, week from str to float/int