I have forgotten
my Password

ComputingIo

Format

Number Format

Format a number with grouped thousands.
char* number_format_c (double value, int dp=0, char dec_point= '.' , char thousand_sep= ',')
std::string number_format (double value, int dp=0, char dec_point= '.' , char thousand_sep= ',')

Roundto

RoundDirection
template<class A> A roundTo (A val, int decimalPlaces)
template<class A> A roundTo (A val, int decimalPlaces, RoundDirection rd)
template<class A> A truncTo (A val, int decimalPlaces)