xmlroff Reference Manual |
---|
fo-number —
struct FoNumber; struct FoNumberClass; FoDatatype* fo_number_new (void); FoDatatype* fo_number_new_with_value (gdouble value);gdouble fo_number_get_value (FoDatatype *number); FoDatatype* fo_number_get_number_one (void);
FoDatatype* fo_number_new (void);
Creates a new FoNumber initialized to default value.
Returns : | the new FoNumber |
FoDatatype* fo_number_new_with_value (gdouble value);
Creates a new FoNumber set to value.
gdouble fo_number_get_value (FoDatatype *number);
Get the value of number
number : | FoNumber |
Returns : | Numeric value of number |
FoDatatype* fo_number_get_number_one (void);
Create and return an FoNumber with the well-known value 1.0.
This saves creation of multiple FoNumber objects that all have the value 1.0.
Returns : |
<< fo-name | FoNumeric >> |