[email protected] 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 fin.scm and copy the functions in there.

> Many thanks,
> Ron 

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       Derek Atkins                 617-623-3745
       [email protected]             www.ihtfp.com
       Computer and Internet Security Consultant
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to