Merge pull request #62814 from KoBeWi/strint

Restore numeric from String constructors
This commit is contained in:
Rémi Verschelde
2022-11-15 22:29:55 +01:00
4 changed files with 74 additions and 0 deletions
+7
View File
@@ -26,6 +26,13 @@
Constructs a [float] as a copy of the given [float].
</description>
</constructor>
<constructor name="float">
<return type="float" />
<param index="0" name="from" type="String" />
<description>
Converts a [String] to a [float], following the same rules as [method String.to_float].
</description>
</constructor>
<constructor name="float">
<return type="float" />
<param index="0" name="from" type="bool" />