I didnt knew `intval`, seems better indeed.