[glom] Updated the comment for NumericFormat's default precision
- From: Michael Hasselmann <mikhas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glom] Updated the comment for NumericFormat's default precision
- Date: Fri, 15 Jan 2010 18:23:15 +0000 (UTC)
commit c5c209cc03ec707b0d07e5b67a0a63e9e108269d
Author: Michael Hasselmann <michaelh openismus com>
Date: Fri Jan 15 12:04:42 2010 +0100
Updated the comment for NumericFormat's default precision
* glom/libglom/data_structure/numeric_format.h (get_default_precision): The
precision applies to the decimal places only, not the whole number. Comment
updated.
ChangeLog | 8 ++++++++
glom/libglom/data_structure/numeric_format.h | 8 ++++----
2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bd2262a..ad19a14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-01-15 Michael Hasselmann <michaelh openismus com>
+
+Updated the comment for NumericFormat's default precision
+
+ * glom/libglom/data_structure/numeric_format.h (get_default_precision): The
+ precision applies to the decimal places only, not the whole number. Comment
+ updated.
+
2010-01-15 Murray Cumming <murrayc murrayc com>
Field Formatting: Allow an alternative color for negative values.
diff --git a/glom/libglom/data_structure/numeric_format.h b/glom/libglom/data_structure/numeric_format.h
index cc5e7ab..5c2f728 100644
--- a/glom/libglom/data_structure/numeric_format.h
+++ b/glom/libglom/data_structure/numeric_format.h
@@ -40,10 +40,10 @@ public:
bool operator==(const NumericFormat& src) const;
bool operator!=(const NumericFormat& src) const;
- /** Get the number of digits (even before the decimal point) we should allow
- * to be shown until we show the awkward e syntax.
- * This should not be used if m_decimal_places_restricted is true.
- */
+ /** Get the number of decimal places we should allow to be shown until we
+ * show the awkward e syntax. This should not be used if
+ * m_decimal_places_restricted is true.
+ */
static guint get_default_precision();
Glib::ustring m_currency_symbol;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]