Function parse_notional

Source
pub fn parse_notional(value: &str, currency: Currency) -> Result<Option<Money>>
Expand description

Parses a notional string into Money, returning None if the value is zero.

§Errors

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