Question about the value that decides if an image is a 3 or a 7

I have the same question…

To decide if an output represents a 3 or a 7, we can just check whether it’s greater than 0.0

How does the output being greater than zero mean it’s a 3 or a 7?