parse_price

Function parse_price 

Source
pub fn parse_price(value: f64, precision: u8) -> Price
Expand description

Parses a Nautilus price from the given value.

Values outside the representable range are capped to min/max price.