Cast delay as an integer