Fix a typo in the `String.to_float` description
(cherry picked from commit 9744657bb8
)
This commit is contained in:
parent
03e82be503
commit
7a8ac69862
|
@ -924,7 +924,7 @@
|
|||
var b = "1.2.3".to_float() # b is 1.2
|
||||
var c = "12xy3".to_float() # c is 12.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]
|
||||
</description>
|
||||
</method>
|
||||
|
|
Loading…
Reference in New Issue