From a43319b6c9c24ed9b88af336c74a4d60e76b6fc3 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sun, 19 Sep 2021 00:46:57 +0200 Subject: Restore numeric from String constructors --- doc/classes/float.xml | 7 +++++++ doc/classes/int.xml | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/float.xml b/doc/classes/float.xml index 9d685b9cd0..3a7e5881a6 100644 --- a/doc/classes/float.xml +++ b/doc/classes/float.xml @@ -26,6 +26,13 @@ Constructs a [float] as a copy of the given [float]. + + + + + Converts a [String] to a [float], following the same rules as [method String.to_float]. + + diff --git a/doc/classes/int.xml b/doc/classes/int.xml index 78e2e7d18f..da776d55ef 100644 --- a/doc/classes/int.xml +++ b/doc/classes/int.xml @@ -52,6 +52,13 @@ Constructs an [int] as a copy of the given [int]. + + + + + Converts a [String] to an [int], following the same rules as [method String.to_int]. + + -- cgit v1.2.3