fn apply_scalar_transform( resolved: f64, multiplier: Option<f64>, offset: Option<f64>, round_decimals: Option<u8>, ) -> f64