One answer might be: The unit of E (energy) is a Joule, the unit of h (Plank's constant) is Joule time a second. If you want the equation to be correct you need to multiply h with something that has units of 1 over a second.Roman.
Energy within a single system is quantized, but there are different energies that result from following the E=nh model in different systems, so if you consider every possible system energy is continuous, just like the light spectrum.