Need some help to convert the type of TEXT to NUMBER

My code is all done for all function, thanks you so much! Appreciate !