Missing floor numeric function
Rsamawi opened this issue · comments
Hello Everyone,
at first I want to thank you for the useful library you have implemented.
It's working great and as expected but we have one problem regarding the supported FEEL functions.
For example, it's not possible to use floor function.
So is it possible to include a wider range of the FEEL numeric functions?
Or is there a way to extend the current implementation to support the missing ones?
Best Regards
Hello @Rsamawi - the library supports/implement S-FEEL only (not the full FEEL language).
You might try to extend DmnExecutionContext
class and its void ConfigureInterpreter(Interpreter interpreter)
function. Use public Interpreter SetFunction(string name, Delegate value)
to add custom function into interpreter.