I have a calculation that I want to perform normally but when a field with a check box is selected I want to round the number up. This is what I have come up with this, but it's not working. Am I working in the right direction?
CASE
WHEN [@cbParamVirtual2]!== "Y"
THEN Round(((([@field:width]*[@field:height])/144)*[@field:panes]),2))
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
JustTrying
Hello,
I appreciate any help on this.
I have a calculation that I want to perform normally but when a field with a check box is selected I want to round the number up. This is what I have come up with this, but it's not working. Am I working in the right direction?
CASE
WHEN [@cbParamVirtual2]!== "Y"
THEN Round(((([@field:width]*[@field:height])/144)*[@field:panes]),2))
ELSE (([@field:width]*[@field:height])/144)*[@field:panes]
END
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.