getIntOrDefault

Get a value as Int with a default fallback.