check_positive_decimal

Function check_positive_decimal 

Source
pub fn check_positive_decimal(value: Decimal, param: &str) -> Result<()>
Expand description

Checks the Decimal value is positive (> 0).

ยงErrors

Returns an error if the validation check fails.