Force consoleport to always be an integer