How to force a string to act as a number