Skip to content

to_decimal

In std/string.

fn to_decimal(self) : Option<Decimal>

The exact decimal number self writes, at its written scale, or none when it writes none: "2.50" | to_decimal is 2.50.