MxM111, 1 year ago I would divide by two (floating point) and check the fractional part.
I would divide by two (floating point) and check the fractional part.