diff options
| author | Juan Linietsky | 2018-05-07 20:25:06 -0300 |
|---|---|---|
| committer | GitHub | 2018-05-07 20:25:06 -0300 |
| commit | cb1fc5734b874f289ffb0d6b0b3035124f9498c8 (patch) | |
| tree | 77eda33f5e85392ebfa0cc2b76c93fcde9dad5c3 /core/ustring.cpp | |
| parent | 7b85c9d0ea8de12b501f101af7d9ecaa1ba1be7a (diff) | |
| parent | 051b4d6f19a7121e28b463232f3d5cb7ec4b027e (diff) | |
| download | godot-cb1fc5734b874f289ffb0d6b0b3035124f9498c8.tar.gz godot-cb1fc5734b874f289ffb0d6b0b3035124f9498c8.tar.zst godot-cb1fc5734b874f289ffb0d6b0b3035124f9498c8.zip | |
Diffstat (limited to 'core/ustring.cpp')
| -rw-r--r-- | core/ustring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 921d20a6f..85b7a16e6 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] = '%'; |
