muParser - a fast math parser library
Version 2.1.0
My home
page
muParser
API-doc

### Introduction About the parser Release notes News Software using muParser Licence ### Features Features Overview Built in functions Built in binary operators Other operators ### Build instructions Building on Win32 Building on BSD/Linux Misc build instructions Including the files Compiler switches Where to ask for help ### Math parser interface Parser (de)initialization Evaluating an expression Single return value Multiple return values Bulk mode Setting the expression Defining identifier charsets Defining parser variables Explicit variable definition Implicit variable definition Defining constants Adding functionand operators Defining functions Defining operators Unary operators Binary operators Querying variables Querying constants Value recognition callbacks Removing variables/constants Localization Error handling Example code ### Current version Benchmarks | ## 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