VoltDB.Data.Client.VoltDecimal.IsValidValue C# (CSharp) Méthode

IsValidValue() private static méthode

Returns whether a given BigDecimal value fits within the restrictions of the VoltDecimal type.
private static IsValidValue ( BigDecimal value ) : bool
value VoltDB.ThirdParty.Math.BigDecimal Value to check.
Résultat bool
        private static bool IsValidValue(BigDecimal value)
        {
            if ((value == VoltDecimal.NullValue)
                || ((value >= VoltDecimal.MinValue) && (value <= VoltDecimal.MaxValue)))
                return true;
            return false;
        }