Union really isn't needed much anymore since todays computers can spare the memory you will waste when having an int and an double even if you only need the double in one situation.