Get the integer value for key parameter with zero as default value
function getValue(key: string; default: integer = 0): integer