std::moneypunct<CharT,International>::decimal_point,do_decimal_point (3) - Linux Manuals
std::moneypunct<CharT,International>::decimal_point,do_decimal_point: std::moneypunct<CharT,International>::decimal_point,do_decimal_point
NAME
std::moneypunct<CharT,International>::decimal_point,do_decimal_point - std::moneypunct<CharT,International>::decimal_point,do_decimal_point
Synopsis
Defined in header <locale>
public: (1)
CharT decimal_point() const;
protected: (2)
virtual CharT do_decimal_point() const;
1) Public member function, calls the member function do_decimal_point of the most derived class.
2) Returns the character to use as the decimal point separator in monetary I/O if the format uses fractions (that is, if do_frac_digits() is greater than zero). For typical U.S. locales, it is the character '.' (or L'.')
Return value
The object of type CharT holding the decimal point character.
Example
// Run this code
Output:
See also
do_frac_digits provides the number of digits to display after the decimal point
[virtual]