Change double to integer