2
0
Fork 0

Fix a typo in the `String.to_float` description

(cherry picked from commit 9744657bb8)
4.0
Amir-Rasteg 2023-07-03 12:09:19 +07:00 committed by Yuri Sizov
parent b3c74b4874
commit 82ea4b4718
1 changed files with 5 additions and 5 deletions

@ -888,7 +888,7 @@
var b = "1.2.3".to_float() # b is 1.2 var b = "1.2.3".to_float() # b is 1.2
var c = "12xy3".to_float() # c is 12.0 var c = "12xy3".to_float() # c is 12.0
var d = "1e3".to_float() # d is 1000.0 var d = "1e3".to_float() # d is 1000.0
var e = "Hello!".to_int() # e is 0.0 var e = "Hello!".to_float() # e is 0.0
[/codeblock] [/codeblock]
</description> </description>
</method> </method>