文字列を3桁区切りに書式指定する(数値で3桁ごとにカンマ,入れたりするやつ)

Windows APIでGetNumberFormat()というのが存在している

ネタ元

www.petitmonte.com