Regression Problem?

Everything here is working as I expect, except in certain situations (see screenshot below). I really can’t find my mistake but I think it has something to do with the regression and rounding.

It’s possibly because the regression doesn’t quite give 0 - it instead gives a very small number that it renders in standard form (eg. 3.9443*10^-13). I think the CL parser then interprets that number as 3.9443e…, and uses e as in Euler’s constant rather than x10^…

If you have rounded variables, such as a_1=round(a,5) etc. and use those instead, it should come out okay.

Yeah, that’s exactly what it was. I just moved the rounding from CL to be inside the calculator instead and everything worked great.

-thanks