"String.num_scientific(a)"'s sample is wrong typed. #9012
Labels
area:class reference
Issues and PRs about the class reference, which should be addressed on the Godot engine repository
bug
Your Godot version:
4.2
Issue description:
About [ String num_scientific ( float number ) static ] sample, the correct content should be "print(String.num_scientific(a)) , but the sample in doc and Godot 4 help are "print(String.NumScientific(n))". Will be error if you just copy & paste content in this sample.
URL to the documentation page:
https://docs.godotengine.org/zh-cn/4.x/classes/class_string.html#class-string-method-num-scientific
Not only zh-cn sample wrong.
The text was updated successfully, but these errors were encountered: