Output Numbers with Thousands Separator
June 6, 1996
Author: Embarcadero USA
Technical Information Database
TI2183C.txt Output Numbers with Thousands Separator
Category :General
Platform :All
Product :C/C++ All
Description:
How do I output comma-formatted numbers such as 1,000,000 with
C++ IOStreams? As common as this would seem, C++ IOStreams have
no support for this. The function shown in the code sample below
serves…