src/NFfunction/muParser/muParser.cpp
//---------------------------------------------------------------------------
/** \brief Set the decimal separator.
      \param cDecSep Decimal separator as a character value.
      \sa SetThousandsSep

      By default muparser uses the "C" locale. The decimal separator of this
      locale is overwritten by the one provided here.
  */
\brief Set the decimal separator.
\param cDecSep Decimal separator as a character value.

By default muparser uses the "C" locale. The decimal separator of this
locale is overwritten by the one provided here.
\ brief Set the decimal separator . \ param cDecSep Decimal separator as a character value . By default muparser uses the " C " locale . The decimal separator of this locale is overwritten by the one provided here .
void Parser::SetDecSep(char_type cDecSep)
  {
    char_type cThousandsSep = std::use_facet< change_dec_sep<char_type> >(s_locale).thousands_sep();
    s_locale = std::locale(std::locale("C"), new change_dec_sep<char_type>(cDecSep, cThousandsSep));
  }
void Parser :: SetDecSep ( char_type cDecSep ) { char_type cThousandsSep = std :: use_facet < change_dec_sep < char_type > > ( s_locale ) . thousands_sep ( ) ; s_locale = std :: locale ( std :: locale ( " " ) , new change_dec_sep < char_type > ( cDecSep , cThousandsSep ) ) ; }
\brief Set the decimal separator.
\ brief Set the decimal separator .