parse_decimal

Function parse_decimal 

Source
pub fn parse_decimal(s: &str) -> Result<Decimal>
Expand description

Parses a string to Decimal, returning an error if parsing fails.

ยงErrors

Returns an error if the string cannot be parsed as a Decimal.