mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Guile 1.8 seems to be pickier about inexact->exact producing integer
numbers. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15653 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
be3b2d0106
commit
8627d4c024
@ -57,9 +57,8 @@
|
||||
(+ .00001 (expt 10 (* 3 log-val)))))))
|
||||
(that-part (remainder val
|
||||
(inexact->exact
|
||||
(+ .00001
|
||||
(truncate
|
||||
(expt 10 (* 3 log-val))))))))
|
||||
(truncate
|
||||
(+ .00001 (expt 10 (* 3 log-val))))))))
|
||||
(if (> this-part 0)
|
||||
(set! current-string
|
||||
(string-append (integer-to-words this-part)
|
||||
|
Loading…
Reference in New Issue
Block a user