Conditional Region Problem

Hi,
I would be grateful for any help here…I have a conditional region that I wish to show …

THIS WORKS…
div id=“conditional1” is=“dmx-if” dmx-bind:condition="(((todaysdate.datetime.toTimestamp() - LOGON_TIME.toTimestamp())/60).floor()) > 70 "> {{((PTE * PARTS) / 60)}} Allocated Time

THIS DOES NOT WORK…
div id=“conditional1” is=“dmx-if” dmx-bind:condition="(((todaysdate.datetime.toTimestamp() - LOGON_TIME.toTimestamp())/60).floor()) > ((PTE * PARTS) / 60)">{{((PTE * PARTS) / 60)}} Allocated Time

I have tried adding .toNumber() formatter ie. ((PTE * PARTS) / 60).toNumber() but still cannot get this to work?

Any ideas anyone??

Thanks in advance.

Community Page
Last updated: