12#include "kritawidgetutils_export.h"
23 KRITAWIDGETUTILS_EXPORT
double parseSimpleMathExpr(QString
const& expr,
bool* noProblem = 0);
the namespace contains functions to transform math expression written as QString in numbers.
int parseIntegerMathExpr(QString const &expr, bool *noProblem)
parse an expression to an int.
double parseSimpleMathExpr(const QString &expr, bool *noProblem)
parse an expression to a double.