Method Evaluate
Evaluate(string?, FieldFormulaContext)
Evaluates a formula expression and returns its unformatted result, or one of the FieldErrors texts. Applying a numeric picture is the caller's job.
public static string Evaluate(string? expression, FieldFormulaContext context)
Parameters
expressionstringThe expression, without the leading
=.contextFieldFormulaContextThe reference resolvers and culture.
Returns
- string
The result text.
Exceptions
- ArgumentNullException
contextis null.