They called this number i , or the imaginary unit . If the real part of a complex number is zero , then the number is called an imaginary number or is referred to as purely imaginary ; if the imaginary part is zero , then the number is a real number .