Skip to content

to_float

In std/string.

fn to_float(self) : Option<Float>

The number self writes, as a Float, or none when it writes none: "1e3" | to_float is 1000.0.