Moved formatOutput to main; bound ingredient in convertUnits.