On Thursday 07 August 2014 15:27:32 Mike Evans wrote: > > Ah found it by looking in the .gnucash xml file. The discount is > saved as 25/1 and the price as 75/1. In gncEntryComputeValues() the > denom is read from the currency, ie 100 so it divides 25 by the denom > and gets the wrong answers which is effectively zero. Hence no > discount. I need to run gnc_numeric_convert(...) to set the denom > correctly. > > Thanks Geert, sometimes just asking the questions "out loud" is what's > needed. :) > > Mike
Nice job :) And as usual still something totally different... Geert _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
