Function parse_price

Source
pub fn parse_price(value: &str) -> Result<Price>
Expand description

Parses a string into a Price.

§Errors

Returns an error if the string cannot be parsed into a floating point value.