param set: fixed float format

This commit is contained in:
Anton Babushkin 2014-01-31 17:34:46 +01:00
parent 83df116c7a
commit 7d17a48b3c
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ do_set(const char* name, const char* val)
char* end; char* end;
f = strtod(val,&end); f = strtod(val,&end);
param_set(param, &f); param_set(param, &f);
printf(" -> new: %f\n", f); printf(" -> new: %4.4f\n", (double)f);
} }