Simple String to Number Function

added a very simple string to number function