A Fractional view of the exchange-correlation functional in density-functional theory