Expression evaluator: increased output precision
This commit is contained in:
parent
9866196130
commit
1f70cc8c5f
|
@ -125,7 +125,7 @@ NumericEvaluator :: parseOk()
|
|||
void
|
||||
NumericEvaluator :: parseSetResult(double val)
|
||||
{
|
||||
snprintf(clToken.token, clToken.OutLen, "%g", val);
|
||||
snprintf(clToken.token, clToken.OutLen, "%.10g", val);
|
||||
}
|
||||
|
||||
const char*
|
||||
|
|
Loading…
Reference in New Issue