浏览代码

Fixed small mistake on the "GDScript format strings" page.

Michael Alexsander Silva Dias 7 年之前
父节点
当前提交
175aea267b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      getting_started/scripting/gdscript/gdscript_format_string.rst

+ 1 - 1
getting_started/scripting/gdscript/gdscript_format_string.rst

@@ -254,7 +254,7 @@ Combining both the ``String.format`` method and the ``%`` operator could be usef
 ``String.format`` does not have a way to manipulate the representation of numbers.
 ``String.format`` does not have a way to manipulate the representation of numbers.
 
 
 +-----------------------------------------------------------------------+-------------------+
 +-----------------------------------------------------------------------+-------------------+
-| **Example **                                                          | **Result**        |
+| **Example**                                                           | **Result**        |
 +-----------------------------------------------------------------------+-------------------+
 +-----------------------------------------------------------------------+-------------------+
 | "Hi, {0} v{version}".format({0:"Godette", "version":"%0.2f" % 3.114}) | Hi, Godette v3.11 |
 | "Hi, {0} v{version}".format({0:"Godette", "version":"%0.2f" % 3.114}) | Hi, Godette v3.11 |
 +-----------------------------------------------------------------------+-------------------+
 +-----------------------------------------------------------------------+-------------------+