Browse Source

Merge pull request #88767 from AThousandShips/string_doc_fix

[Doc] Fix GDScript casing of `String.num_scientific`
Rémi Verschelde 1 year ago
parent
commit
ec901ae16e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/classes/String.xml

+ 2 - 2
doc/classes/String.xml

@@ -651,8 +651,8 @@
 				[codeblocks]
 				[gdscript]
 				var n = -5.2e8
-				print(n)                       # Prints -520000000
-				print(String.NumScientific(n)) # Prints -5.2e+08
+				print(n)                        # Prints -520000000
+				print(String.num_scientific(n)) # Prints -5.2e+08
 				[/gdscript]
 				[csharp]
 				// This method is not implemented in C#.