Function nih_plug::formatters::v2s_compression_ratio
source · pub fn v2s_compression_ratio(
digits: usize
) -> Arc<dyn Fn(f32) -> String + Send + Sync>
Expand description
Format a positive number as a compression ratio. A value of 4 will be formatted as 4.0:1
while
0.25 is formatted as 1:4.0
.