Function nih_plug::formatters::s2v_f32_percentage
source · pub fn s2v_f32_percentage() -> Arc<dyn Fn(&str) -> Option<f32> + Send + Sync>
Expand description
Parse a [0, 100]
percentage to a [0, 1]
number. Handles the percentage unit for you. Used in
conjunction with v2s_f32_percentage()
.