fn parse_factor(v: &Value) -> Result<f64>
factor as a number, or a string like "50%" or "0.5".
factor
"50%"
"0.5"