Works perfectly for common-cathode displays as the chip implements a BCD to 7-segment decoder. Up to eight digits (yo code it according to how many). Requires one resistor to control LED current for all, and a couple of bypass capacitors.
It does not however display HEX characters A to F. If you need this, or need to use common-anode displays, you code for the patterns yourself.
Code? Search on this site.