Translations:Help:Extension:ParserFunctions/71/en

Because PHP used in $ifeq and $switch compares two numbers of type integer, it returns the expected result correctly.