A quaternary numeral system uses the digits 0, 1, 2, and 3 to represent any real number. It is a base-4 system, which means it works in a similar way to how we count in regular decimal numbers, but with only four possible digits. Converting from binary (a base-2 system) to quaternary is easy.