For integers written in a numeral system based on an even number , such as decimal and hexadecimal , it can be easily tested if it is a multiple of 2 by merely looking at the one 's place digit . For integers written in a numeral system based on an even number , such as decimal and hexadecimal , divisibility by 2 is easily tested by merely looking at the last digit .