Skip to main content

convert_percent_to_volume

Function convert_percent_to_volume 

Source
pub fn convert_percent_to_volume(percent: f64) -> f64
Expand description

Convert percentage volume (0-100) to normalized (0.0-1.0)

§Arguments

  • percent - Volume as percentage (0 to 100)

§Returns

Normalized volume (0.0 to 1.0)