aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyRed2018-03-06 20:40:29 +0100
committerShyRed2018-03-06 20:40:29 +0100
commit051b4d6f19a7121e28b463232f3d5cb7ec4b027e (patch)
tree846b6f84829d502762bd1699e9fe1a2bf5858c37
parent4f1b87265e1e74b1fdd0aa0aa59a9daf03fd3f40 (diff)
downloadgodot-051b4d6f19a7121e28b463232f3d5cb7ec4b027e.tar.gz
godot-051b4d6f19a7121e28b463232f3d5cb7ec4b027e.tar.zst
godot-051b4d6f19a7121e28b463232f3d5cb7ec4b027e.zip
-rw-r--r--core/ustring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp
index a7a781083..3a4015dbf 100644
--- a/core/ustring.cpp
+++ b/core/ustring.cpp
@@ -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] = '%';