Yes, now you mention it I think I've seen that somewhere in MyBB before...
Using intval here should be fine. :wink: