tsql - Evaluate Equation from String -


i have string stored in table 2 logic gates looks 1*((cubl>1)*((difl>1)*1)).

i have been able replace text values different table i.e. 1*((1500>1)*((0>1)*1)). issue having being able evaluate equations between brackets. following list of steps believe needed.

1*((cubl>1)*((difl>1)*1)) -> 1*((1500>1)*((0>1)*1)) 1*((1500>1)*((0>1)*1)) -> 1*(1*(0*1)) 1*(1*(0*1)) -> 1*(1*0) 1*(1*0) -> 1*0 = 0 


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -