The "out1" is not a reserved word in this object, and is thus superfluous (and should be removed). It doesn’t show up in your patch because the number box and the button ignore it, but it’s being sent out.

You can think of the if statement’s format as:
if then [the left outlet] else [otherwise] out2 [create and use a second outlet to]
Note that out2 is optional, so you could elect to omit it and use the left outlet to .

-- Pasted Max Patch, click to expand. --

Copy all of the following text. Then, in Max, select New From Clipboard.