intValue

Returns the value at the previously specified key in the document as an Int. If the key was invalid the return value will be 0.