mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[eguile-utilities.scm] remove fmtnumber
deprecated in maint.
This commit is contained in:
parent
08de175e65
commit
016f82cf8b
@ -33,11 +33,6 @@
|
||||
(use-modules (gnucash core-utils))
|
||||
(use-modules (gnucash report))
|
||||
|
||||
(define-public (fmtnumber n)
|
||||
(issue-deprecation-warning "fmtnumber is deprecated")
|
||||
;; Format a number (integer or real) into something printable
|
||||
(number->string (if (integer? n) (inexact->exact n) n)))
|
||||
|
||||
;; Format gnc-numeric n with decimal places, or exact fraction
|
||||
(define-public fmtnumeric
|
||||
(lambda (n) (xaccPrintAmount n (gnc-default-print-info #f))))
|
||||
|
Loading…
Reference in New Issue
Block a user