pub fn finite_amount(vendor: &str, field: &str, v: f64) -> Result<f64>Expand description
Reject a non-finite monetary value. A NaN or infinity reaching a balance field means the payload was not what we think it is; displaying it as money (or caching it as authoritative) is worse than failing loudly.