gda.numeric
Module for [Numeric] class
class Numeric
Types 1
classNumeric : gobject.boxed.Boxed
Holds numbers represented as strings.
This struct must be considered as opaque. Any access to its members must use its accessors added since version 5.0.2.
Methods
void number(string propval) @property nothrowSet `number` field. Params: propval = a string representing a numberglong precision() @property nothrowGet `precision` field. Returns: precision to use when @number is converted (not implemented jet)void precision(glong propval) @property nothrowSet `precision` field. Params: propval = precision to use when @number is converted (not implemented jet)gda.numeric.Numeric copy() nothrowCreates a new #GdaNumeric structure from an existing one. Returns: a newly allocated #GdaNumeric which contains a copy of information in boxed.double getDouble() nothrowglong getPrecision() nothrowGets the precision of a #GdaNumeric. Returns: an integer with the precision of a #GdaNumeric.string getString() nothrowGet the string representation of numeric, in the C locale format (dot as a fraction separator). Returns: a new string representing the stored valued in numericglong getWidth() nothrowGets the width of a #GdaNumeric. (Not yet implemented). Returns: an integer with the width of a #GdaNumeric. (Not jet implemented).void setFromString(string str) nothrowSets numeric with a number represented by str, in the C locale format (dot as a fraction separator).