Source: https://www.thevbprogrammer.com/ch04/Number Systems Tutorial.pdf