Newbies Bazb1 Posted September 9, 2009 Newbies Posted September 9, 2009 I am dealing with insurance taxes, some of which will be allowed(deducted from the premium) and others will be charged (added to the premium). I have a field which will specified "Charge" or "Allow". I want the result (the value of the tax as a percentage of the premium) to be negative if "Allow" selected and positive if "Charge" selected. How do I make the result field show the negative?
jamesducker Posted September 9, 2009 Posted September 9, 2009 abs (chargeValue ) * if ( chargeOrAllow = "Allow" ; -1 ; 1 ) Hope that helps. James
Recommended Posts
This topic is 5612 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now