im trying to flip the signs of a item amount on an...
# general
o
im trying to flip the signs of a item amount on an advanced pdf and ALSO show it as a currency...what html code do i use when i use... <td align="right" colspan="4" >$${((item.rate?string.currency))*(-1)}</td> it errors out
s
@Ogabeg I would try this: ${(item.rate * -1)?string.currency}
m
did this work? just curious
o
this worked... ${(item.rate) * (-1)?string.currency}
🙌 1
thanks