We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c7d2b1 commit 85b40ceCopy full SHA for 85b40ce
src/SimpleTTSBase.h
@@ -108,7 +108,7 @@ class Number {
108
void set(double value, int digits=2) {
109
char format[10];
110
// e.g. %0.2f for 2 digits.
111
- sprintf(format,"%%0.%d2f", digits);
+ sprintf(format,"%%0.%df", digits);
112
LOGD("format: %s", format);
113
memset(buffer, 0, buffer_len);
114
// convert to string
0 commit comments