pub fn as_float(&self) -> Option<f64> {
        match self {
            FlagValue::Number(f) => Some(*f),
            _ => {
                warn!("variation type is not number but {:?}", self);
                None
            }
        }
    }
/// Attempts to convert the FlagValue into a float representation, returning None if the
/// conversion is invalid.
Attempts to convert the FlagValue into a float representation, returning None if the
conversion is invalid.
Attempts to convert the FlagValue into a float representation returning None if the conversion is invalid .
pub fn as_float(&self) -> Option<f64> {
        match self {
            FlagValue::Number(f) => Some(*f),
            _ => {
                warn!("variation type is not number but {:?}", self);
                None
            }
        }
    }
pub fn as_float ( & self ) -> Option < f64 > { match self { FlagValue :: Number ( f ) => Some ( * f ) , _ => { warn ! ( " " self ) ; None } } }
Attempts to convert the FlagValue into a float representation, returning None if the
conversion is invalid.
Attempts to convert the FlagValue into a float representation returning None if the conversion is invalid .
&self
&self