If and/or Switch Statement in calculations
Hi Guys
Not being a JS pro - I am struggling to get some basic bits working. I need to analyze the Currency type of a "Cost" field. If it;s "USD" - I need to multiply the "Cost" with 14 and leave the resultant inside the calc field "Selling Price". If however the currency was "GBP" - I need the same math but this time multiply by 23. I have tried to copy and paste some of the examples i found in the forums, replacing my variables with @Variable from the app = but I keep getting errors
Please sign in to leave a comment.
Comments
1 comment