Gets the contained values as an int.
The value as an int, or the defaultValue if the value is not a number.
The default value if the contained value is not a number.