Boo.Lang.Runtime.RuntimeServices.ToBool C# (CSharp) Method

ToBool() public static method

public static ToBool ( double value ) : bool
value double
return bool
        public static bool ToBool(double value)
        {
            return 0 != value;
        }

Same methods

RuntimeServices::ToBool ( decimal value ) : bool
RuntimeServices::ToBool ( float value ) : bool
RuntimeServices::ToBool ( object value ) : bool
RuntimeServices