# This is over my head

**URL:** <https://forum.adalo.com/t/this-is-over-my-head/28693>\
**Category:** Get Help\
**Created:** [June 25, 2022, 3:43pm UTC](https://forum.adalo.com/t/this-is-over-my-head/28693 "2022-06-25T15:43:20Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [July 1, 2022, 7:17am UTC](https://forum.adalo.com/t/this-is-over-my-head/28693/20 "2022-07-01T07:17:13Z")

</div>

Hi @peterkilaba,

Here’s the video! : [Loom | Free Screen & Video Recording Software | Loom](https://www.loom.com/share/4282e2414d4e4467855c3428e8c6cd44)

**Edit. I made this simpler and you don’t need a input to divide the rate by 100. I have added that directly to the code! Updated the video too!**

Here’s the script :

```auto
var Rate = "5" / 100;
var Term = "48";
var Price = "67890";
var value = Price * (Rate/12) * (Math.pow((1 + (Rate/12)), Term))/ ((Math.pow((1 + (Rate/12)), Term)) - 1);
var value = Math.round(100*value)/100;
return value;

```

In here change the rate inside double quotes with the drop down’s rate and for the term, term drop-down value and for the price add the input that user type the amount.

Instructions to download components from Pragmaflow website : [PragmaFlow's Adalo Marketplace Reopened - YouTube](https://www.youtube.com/watch?v=4mo_u5EdEWw)

Pragmaflow website : [https://adalo.pragmaflowservers.com/install-component](https://adalo.pragmaflowservers.com/install-component)

The component you need :

![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/2/7/27091a946a15503e54fd4dadb73ddccc9f6a72cf.png)

And also you can hide the inputs and the JS component!

Thank you

---

_[View the full topic](https://forum.adalo.com/t/this-is-over-my-head/28693)._
