Get an integer configuration value.
this |
an instance of Config |
key |
the key name |
the value corresponding to the key as an integer. If the key does not exist or cannot be converted to the integer, 0 is returned. |