Linking two equations
-
I’m trying to link two equations together in a form that is supposed to give customers a price. The first equation sets a base price and the second equation adds some extra options. These equations work seperatly in two different Calculated Fields. But I can’t seem to link these two together to create one single price outcome.
The first equation is:
(function(){ if(fieldname2 < 11) return 50; if(fieldname2 > 10) return 50+2.5*(fieldname2-10); })
The second equation is:
fieldname2*(fieldname3+(fieldname6*2)+fieldname5)
The end result should be equation 1 + equation 2.
Can someone help me do this?Also I couldn’t find out how to let the outcome be with two decimals and a euro sign in front of it (like this: €53,50) So that it actually looks like a price.
Thanks very much in advance
The topic ‘Linking two equations’ is closed to new replies.