converts a number to string