CalcEngine Plus

User-authored calculations for .NET

Formatting results and handling strings

Discussion on IStringTagValueService, and how it allows a consumer to support string-valued tags as well as numeric expressions.

The FormatResult() method of a Tag will utilise the GetStringValue method, if the helper class implements IStringTagValueService. 

Otherwise, the FormatResult method will attempt to call GetNumericValue, and format the result as a number.