mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 01:16:43 -06:00
Don't use GNC-DENOM-SIGFIGS when converting prices
to gnc-numeric values.
This commit is contained in:
parent
5bd7875437
commit
62a4e73f7f
@ -403,13 +403,12 @@
|
||||
((price) "unknown")
|
||||
(else #f)))
|
||||
|
||||
;; FIXME: SIGFIGS is not what we want here...
|
||||
(if price
|
||||
(set! price
|
||||
(double-to-gnc-numeric price
|
||||
GNC-DENOM-AUTO
|
||||
(logior (GNC-DENOM-SIGFIGS 9)
|
||||
GNC-RND-ROUND))))
|
||||
GNC-DENOM-AUTO
|
||||
(logior GNC-DENOM-REDUCE
|
||||
GNC-RND-NEVER))))
|
||||
|
||||
(if gnc-time
|
||||
(set! gnc-time (timestr->time64 gnc-time time-zone))
|
||||
|
Loading…
Reference in New Issue
Block a user