muParser - a fast math parser library
Version 2.1.0
Get muParser - A fast math parser library at SourceForge.net. Fast, secure and Free Open Source software downloads
My home page
My home
page
class documentation
muParser
API-doc

Open source initiative logo

Valid XHTML 1.0 Transitional

CSS ist valide!

Localization

Sometimes it is necessary to change decimal separator, argument separator or thousands separator to match a certain locale. The following functions can be used for this purpose:

[DLL interface]

// german localization
mupSetArgSep(hParser, ';');
mupSetDecSep(hParser, ',');
mupSetThousandsSep(hParser, '.');

// reset to defaults
mupResetLocale();
See also: example2/example2.c.

[Parser class interface]

// german localization
parser.SetArgSep(';');
parser.SetDecSep(',');
parser.SetThousandsSep('.');

// reset to defaults
parser.ResetLocale();
See also: example1/example1.cpp.
© 2005-2011 Ingo Berg ^ TOP