Numeral format for Qt-based applications