I am trying to calculate a fee based on a entered amount and I have that field set to a integer type.
I am thinking possibly an if statement.
if(${estValueofWrk}<1000) then ${estValueofWrk} div 100) * 2 + 25) or if(${estValueofWrk}>=1000 and${estValueofWrk}<49,999 then ${estValueofWrk} div 1000) * 5 + 50) or if(${estValueofWrk}>=50,000 and${estValueofWrk}<99,999 then ${estValueofWrk} div 1000) * 4 + 250) or if(${estValueofWrk}>=100,000 and${estValueofWrk}<499,999 then ${estValueofWrk} div 1000) * 3 + 450) or if(${estValueofWrk}<500,000 then ${estValueofWrk} div 100) * 3 + 1500) or if (${estValueofWrk}>=16,166,666, then 50,000)
I am lost, thank you to anyone that can assist me in advance.