Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
pcomma Function

Inserts commas into a formatted string representing a number.

C++
void pcomma(
    std::string& start, 
    int dec, 
    int point, 
    int sign
);
Parameters 
Description 
std::string& start 
String without commas, to be returned with commas.  
int dec 
Number of decimal places. 
int point 
Indicator for decimal point. 
int sign 
Indicator for negative sign. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!