format numbers, convert string to number and back again