Another Cast To Int

no-email (Damien Seguy), Damien Seguy
Sun, 15 Jan 2023 00:00:00 +0000

Another way to cast a value to int, besides the obvious ``(int)`` operator and the classic ``+ 0``, is to use the unary operator ``+`` operator on a variable: it add a sign operation on the variable, and the ``+`` sign is invariant: yet, the content of the variable is turned into an integer.