Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

If condition on Input: Calc

Questions related to using nuBuilder Forte.
Locked
sandeepgumudelli
Posts: 41
Joined: Thu Jan 25, 2018 3:51 pm

If condition on Input: Calc

Unread post by sandeepgumudelli »

Hi,

Is it possible to apply if condition on input: Calc field.

example: if (a=0) then b*c else a*c.

Regards,
Sandeep
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: If condition on Input: Calc

Unread post by admin »

Sandeep,

No mate it isn't.

Steven.
sandeepgumudelli
Posts: 41
Joined: Thu Jan 25, 2018 3:51 pm

Re: If condition on Input: Calc

Unread post by sandeepgumudelli »

Found it...
Here it is:

( a == 0 ) ? (b * c) : (a * c)


Regards,
Sandeep
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: If condition on Input: Calc

Unread post by toms »

Cool solution 8-)
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: If condition on Input: Calc

Unread post by admin »

Sandeep,

My apologies.

I completely forgot that Calc had ? and :

Well done!

Steven
Locked