Adding intval, see #7440
Adding intval see #7440