Unverified Commit cb1fc573 by Juan Linietsky Committed by GitHub

Merge pull request #17316 from ShyRed/significantdigits

Adjust decimal precision
parents 7b85c9d0 051b4d6f
......@@ -945,8 +945,8 @@ String String::num(double p_num, int p_decimals) {
#ifndef NO_USE_STDLIB
if (p_decimals > 12)
p_decimals = 12;
if (p_decimals > 16)
p_decimals = 16;
char fmt[7];
fmt[0] = '%';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment