Expression evaluator: increased output precision

This commit is contained in:
Maciej Suminski 2017-11-24 21:15:08 +01:00
parent 9866196130
commit 1f70cc8c5f
1 changed files with 1 additions and 1 deletions

View File

@ -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*