A Script to convert text to number

Input      

Output