diff options
author | Serhat <ss99@tuta.io> | 2020-10-01 23:06:12 +0300 |
---|---|---|
committer | Serhat <ss99@tuta.io> | 2020-10-02 00:25:42 +0300 |
commit | 9f2cdfea8261fae28dbd45a74195b9cff4db6dd5 (patch) | |
tree | 05737e01bf643860df6999e730622b271ed955af /modules/gdscript | |
parent | 25ca77c3796602b52ee9dca98abbb35aa9ede773 (diff) |
Fixed padding bug of sprintf function
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/doc_classes/@GDScript.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/doc_classes/@GDScript.xml b/modules/gdscript/doc_classes/@GDScript.xml index 613039754f..512452a8df 100644 --- a/modules/gdscript/doc_classes/@GDScript.xml +++ b/modules/gdscript/doc_classes/@GDScript.xml @@ -767,7 +767,7 @@ Returns the integer modulus of [code]a/b[/code] that wraps equally in positive and negative. [codeblock] for i in range(-3, 4): - print("%2.0f %2.0f %2.0f" % [i, i % 3, posmod(i, 3)]) + print("%2d %2d %2d" % [i, i % 3, posmod(i, 3)]) [/codeblock] Produces: [codeblock] |