GNOME Bugzilla – Bug 422972
Form does not show any decimals for floating point types
Last modified: 2007-03-26 18:51:39 UTC
To reproduce, just have a look at the read-only form example in gnome-db-demo. The 'price' field has a floating point type but does not show any decimals.
Created attachment 85317 [details] [review] Proposed patch This initializes the n_decimals field in the string entry to -1 instead of 0. This way, it does what the comment behind says, namely not restricting the number of decimals, instead of setting them to 0.
Seems like a simple fix. Please go ahead.
Committed.