diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-04-01 12:49:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 12:49:17 +0200 |
commit | c7f6af28553157d60eeb05428bcd122b8321fe89 (patch) | |
tree | c1ec2590f27192ef08eec2bfbd8693dd768e6337 | |
parent | 4263f02f28af79324667674ad4f2ededddf19047 (diff) | |
parent | 05718796db20145fcc712c7a826e8043e5177905 (diff) |
Merge pull request #59759 from novaplusplus/month_late_typo_fix
Fixing some of my own typos
-rw-r--r-- | doc/classes/String.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 8108c5eb46..1f3d5596aa 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -341,7 +341,6 @@ print("1.7".is_valid_float()) # Prints "true" print("24".is_valid_float()) # Prints "true" print("7e3".is_valid_float()) # Prints "true" - print("24".is_valid_float()) # Prints "true" print("Hello".is_valid_float()) # Prints "false" [/codeblock] </description> @@ -678,7 +677,7 @@ <return type="float" /> <argument index="0" name="text" type="String" /> <description> - Returns the similarity index ([url=https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) this string compared to another. 1.0 means totally similar and 0.0 means totally dissimilar. + Returns the similarity index ([url=https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient]Sorensen-Dice coefficient[/url]) of this string compared to another. A result of 1.0 means totally similar, while 0.0 means totally dissimilar. [codeblock] print("ABC123".similarity("ABC123")) # Prints "1" print("ABC123".similarity("XYZ456")) # Prints "0" |