Function investments::util::validate_decimal[][src]

pub fn validate_decimal(
    value: Decimal,
    restrictions: DecimalRestrictions
) -> GenericResult<Decimal>