Introduction
Features
Build instructions
Math parser interface
Current version
|
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
|
|