Convert units of digital information from string into the numeric equivalent and the other way around