Skip to content

Commit ec901ae

Browse files
committed
Merge pull request godotengine#88767 from AThousandShips/string_doc_fix
[Doc] Fix GDScript casing of `String.num_scientific`
2 parents 83b32f9 + b384bec commit ec901ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/classes/String.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@
651651
[codeblocks]
652652
[gdscript]
653653
var n = -5.2e8
654-
print(n) # Prints -520000000
655-
print(String.NumScientific(n)) # Prints -5.2e+08
654+
print(n) # Prints -520000000
655+
print(String.num_scientific(n)) # Prints -5.2e+08
656656
[/gdscript]
657657
[csharp]
658658
// This method is not implemented in C#.

0 commit comments

Comments
 (0)