mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
crash when involving foreign currency stocks. Scheme's inexact->exact function just converts the floating-point representation of a number into an exact rational (documented in the API Reference, Simple Generic Data Types, Numerical data types, Exact and Inexact Numbers), which isn't what we want. We want the number converted to exact directly from the string and to do that we have gnc-fq-helper preface it with #e.