What is this doing? Converting back and forth between strings and numbers