Windows 10 Boot Manager Menu

The code using modulo operator and the greater or equal are not equivalent. % returns the rest of a division by a number so 125 % 60 = 5 as 305 % 60 but in both cases the other code only returns 0 so it is totally wrong.