mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge branch 'maint'
This commit is contained in:
@@ -1549,7 +1549,9 @@ PrintAmountInternal(char *buf, gnc_numeric val, const GNCPrintAmountInfo *info)
|
||||
*buf = '\0';
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
// Value may now be decimal, for example if the factional part is zero
|
||||
value_is_decimal = gnc_numeric_to_decimal(&val, NULL);
|
||||
/* print the integer part without separators */
|
||||
sprintf(temp_buf, "%" G_GINT64_FORMAT, whole.num);
|
||||
num_whole_digits = strlen (temp_buf);
|
||||
|
||||
Reference in New Issue
Block a user