pub fn convert_string_to_f32(val: String) -> Option<f32> {
    if let Ok(val) = val.parse::<f32>() {
        return Some(val);
    }
    None
}
/// convert_string_to_f32 is used to convert string into f32.
convert_string_to_f32 is used to convert string into f32.
convert_string_to_f32 is used to convert string into f32 .
pub fn convert_string_to_f32(val: String) -> Option<f32> {
    if let Ok(val) = val.parse::<f32>() {
        return Some(val);
    }
    None
}
pub fn convert_string_to_f32 ( val : String ) -> Option < f32 > { if let Ok ( val ) = val . parse :: < f32 > ( ) { return Some ( val ) ; } None }
convert_string_to_f32 is used to convert string into f32.
convert_string_to_f32 is used to convert string into f32 .
val
String