Function will convert incoming value as integer. If argument is not a number, function will return 0.