Enum ExpressionOptions
- Namespace
- NCalc
- Assembly
- NCalc.Core.dll
Options used for both parsing and evaluation of an expression.
[Flags]
public enum ExpressionOptions
Fields
AllowBooleanCalculation = 512
Allow calculation with boolean values
AllowNullParameter = 128
Defines a "null" parameter and allows comparison of values to null.
CaseInsensitiveStringComparer = 32
Specifies the use of CaseInsensitiveComparer for comparisons.
DecimalAsDefault = 64
Uses decimals instead of doubles as default floating point data type.
[Obsolete("Please use IgnoreCaseAtBuiltInFunctions")] IgnoreCase = 2
IgnoreCaseAtBuiltInFunctions = 2
Specifies case-insensitive matching for built-in functions
IterateParameters = 8
Treats parameters as arrays and returns a set of results.
NoCache = 4
No-cache mode. Ignores any pre-compiled expression in the cache.
None = 1
Specifies that no options are set.
OrdinalStringComparer = 256
Use ordinal culture on string compare
OverflowProtection = 1024
Check for arithmetic binary operation overflow
RoundAwayFromZero = 16
When using Round(), if a number is halfway between two others, it is rounded toward the nearest number that is away from zero.