GnuCash  5.6-150-g038405b370+
Data Fields
PriceCell Struct Reference

The PriceCell object implements a cell handler that stores a single double-precision value, and has the smarts to display it as a price/amount as well as accepting monetary or general numeric input. More...

#include <pricecell.h>

Data Fields

BasicCell cell
 
gnc_numeric amount
 
int fraction
 the amount associated with this cell
 
gboolean blank_zero
 fraction used for rounding, if 0 no rounding
 
GNCPrintAmountInfo print_info
 controls printing of zero values
 
gboolean need_to_parse
 amount printing context
 

Detailed Description

The PriceCell object implements a cell handler that stores a single double-precision value, and has the smarts to display it as a price/amount as well as accepting monetary or general numeric input.

By default, the PriceCell is an input/output cell.

On output, it will display negative values in red text. hack alert – the actual color (red) should be user configurable.

Definition at line 54 of file pricecell.h.


The documentation for this struct was generated from the following file: