In some stock software some figure showing this way:12.01

How can I do it with QT?