Re: [GNC] Check for negative amount in scheduled transaction formula

2019-01-24 Thread Derek Atkins
- Original Message - > From: "Derek Atkins" > To: "gnucash dgr9z" > Cc: "Gnucash Users" > Sent: Monday, January 21, 2019 3:16:52 PM > Subject: Re: [GNC] Check for negative amount in scheduled transaction formula > > gnucash.dg...@ncf.ca writes: &

Re: [GNC] Check for negative amount in scheduled transaction formula

2019-01-22 Thread Ron Stone
From: "Derek Atkins" To: "gnucash dgr9z" Cc: "Gnucash Users" Sent: Monday, January 21, 2019 3:16:52 PM Subject: Re: [GNC] Check for negative amount in scheduled transaction formula gnucash.dg...@ncf.ca writes: > Hi, > > Is it possible to convert negati

Re: [GNC] Check for negative amount in scheduled transaction formula

2019-01-21 Thread Derek Atkins
gnucash.dg...@ncf.ca writes: > Hi, > > Is it possible to convert negative numbers to 0 in a formula? something like: > a-b < 0 ? 0 : a-b > > If this needs to be defined as a function someplace, what would it > look like, where would it go, and how would it be called from the > template? Look at f

[GNC] Check for negative amount in scheduled transaction formula

2019-01-18 Thread gnucash . dgr9z
Hi, Is it possible to convert negative numbers to 0 in a formula? something like: a-b < 0 ? 0 : a-b If this needs to be defined as a function someplace, what would it look like, where would it go, and how would it be called from the template? Many thanks, Ron __