# Math operations with data imported from API

**URL:** <https://forum.adalo.com/t/math-operations-with-data-imported-from-api/10303>\
**Category:** Database\
**Created:** [March 14, 2021, 8:27am UTC](https://forum.adalo.com/t/math-operations-with-data-imported-from-api/10303 "2021-03-14T08:27:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/jenny/32/6858_2.png) [@jenny](https://forum.adalo.com/u/jenny)\
**Post date:** [March 14, 2021, 8:27am UTC](https://forum.adalo.com/t/math-operations-with-data-imported-from-api/10303/1 "2021-03-14T08:27:09Z")

</div>

Hello everyone. Thanks for the help you are giving me. are struggling with data manipulation imported from API. I mean, I’m creating an app with a Bitcoin payment option. I managed to import the price of Bitcoin. However, I would like users who purchase with bitcoin to see the conversion into Dollars. so I would have to take the price of Bitcoin and multiply it by the purchase price of the product they want, so the user can instantly see how much they are spending. how can I do? I have tried some things but it seems that the imported data cannot use it to do mathematical operations. thank you all

---

<div class="post-metadata">

**Author:** ![oceanman](https://avatars.discourse-cdn.com/v4/letter/o/278dde/32.png) [@oceanman](https://forum.adalo.com/u/oceanman)\
**Post date:** [March 14, 2021, 11:55am UTC](https://forum.adalo.com/t/math-operations-with-data-imported-from-api/10303/2 "2021-03-14T11:55:05Z")

</div>

Are you using the internal db? If so, you can save the price of BTC in the db, and then do math with the custom formula from there.

---

<div class="post-metadata">

**Author:** ![jenny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/jenny/32/6858_2.png) [@jenny](https://forum.adalo.com/u/jenny)\
**Post date:** [March 14, 2021, 12:00pm UTC](https://forum.adalo.com/t/math-operations-with-data-imported-from-api/10303/3 "2021-03-14T12:00:41Z")

</div>

i use the internal bd, but not but when i import api i can’t do the calculations on those parameters. can you show me how would you do it? how do you just save the BTC price and use it as a numerical factor?

---

<div class="post-metadata">

**Author:** ![jenny](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/jenny/32/6858_2.png) [@jenny](https://forum.adalo.com/u/jenny)\
**Post date:** [March 14, 2021, 12:05pm UTC](https://forum.adalo.com/t/math-operations-with-data-imported-from-api/10303/4 "2021-03-14T12:05:56Z")

</div>

![problem](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/6/6dd5676bf24bcf63585439c8751d67e5038e0d07.png)
