Restore numeric from String constructors
This commit is contained in:
@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user