Collapse All

Anypia Programmer's Documentation |  |

pcomma Function
comma.h Functions Send Feedback

Inserts commas into a formatted string representing a number.

C++

    void pcomma(
        std::string& start,
        int dec,
        int point,
        int sign
    );

File

comma.h

Parameters

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.

Group

Functions

Links
comma.h, Functions

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!