tag:infinitekind.tenderapp.com,2009-01-14:/discussions/moneydance-development/6771-currencysnaphot-how-to-convert-getrate-to-a-priceInfinite Kind: Discussion 2022-03-27T20:29:10Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/495797642022-01-04T07:56:27Z2022-01-04T07:56:27ZCurrencySnaphot how to convert getRate() to a price<div><p>Hi Bob,</p>
<p>You've got it exactly. I should also add that the snap.getRate() method will return the rate relative to the security's associated currency and not necessarily the base currency of the file.</p>
<p>You might also be interested in this method which does most of the work for you:<br>
<a href="https://infinitekind.com/dev/apidoc/com/infinitekind/moneydance/model/CurrencyUtil.html#getSplitAdjustedRelativeUserPrice(com.infinitekind.moneydance.model.CurrencyType,com.infinitekind.moneydance.model.CurrencyType,int)">https://infinitekind.com/dev/apidoc/com/infinitekind/moneydance/mod...</a></p>
<p>Thanks!<br>
Sean</p>
<p>--<br>
Sean Reilly<br>
Developer, The Infinite Kind<br>
<a href="https://infinitekind.com">https://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/495797642022-01-06T02:06:07Z2022-01-06T02:06:07ZCurrencySnaphot how to convert getRate() to a price<div><p>Thanks very much</p></div>Bob B