Half (noun and adj.)

I ate half an egg. (It functions as a adj.)
I ate half of an egg. (It functions as a noun)