Thanks, Rob. In fact, I've spent a lot of time trying to implement all the functionality in one UDF, but unfortunately the idea has never materialized.When a UDF is used, an error is reported directly in the first step of the calculation and floating point overflow occurs.Therefore, I thought that changing the UDF might be a temporary solution, which was in fact possible, but It was not clear to me why the functionality that the GUI was able to implement would go wrong in the TUI.n