| 1 | initial version |
is :
D=A + E if E < 0 else A
what you are looking for ?
BTW, you could also write it D=A+(E*(E<0)) or D=A+min(E,0), probably among others...
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.