# Source of documentation on functions available in Homey Pro flows

**URL:** <https://community.homey.app/t/source-of-documentation-on-functions-available-in-homey-pro-flows/64038>\
**Category:** Questions & Help\
**Tags:** homey-pro\
**Created:** [May 25, 2022, 12:12pm UTC](https://community.homey.app/t/source-of-documentation-on-functions-available-in-homey-pro-flows/64038 "2022-05-25T12:12:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steinar\_Moen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steinar_moen/32/48694_2.png) [@Steinar\_Moen](https://community.homey.app/u/Steinar_Moen)\
**Post date:** [May 25, 2022, 12:12pm UTC](https://community.homey.app/t/source-of-documentation-on-functions-available-in-homey-pro-flows/64038/1 "2022-05-25T12:12:18Z")

</div>

Hi! Newbie on Homey and flows. This question may seem very stupid, but I am about to give up on finding for instance a list of functions available when calculating values in the flow cards. I do for instance want to set a variable MaxEffect as the least value of two other variables. By looking at other flows, I “found” the use of a min function to do that: {{min(MaxEffectByPrice,MaxEffectByCapacity)}}. I have also found other functions, like max, round, etc. What I miss is a list or similar of available functions. Are there for instance functions to find a numerical value for time, or only for the minute part of time? I guess there are apps for almost everything, but the functions like min and max seem to be built into the Homey itself.

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [May 26, 2022, 7:05am UTC](https://community.homey.app/t/source-of-documentation-on-functions-available-in-homey-pro-flows/64038/2 "2022-05-26T07:05:34Z")

</div>

It is mathjs functions. You can read more here:

> [@Available math functions](https://community.homey.app/t/available-math-functions/16622):
>
> Are there built-in math functions that can be used in variable calculations (in basic logic flows, not Homeyscript)? If so, where can I find the docs?

You can also try the app Javascript Logic.

---

<div class="post-metadata">

**Author:** ![Steinar\_Moen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steinar_moen/32/48694_2.png) [@Steinar\_Moen](https://community.homey.app/u/Steinar_Moen)\
**Post date:** [May 29, 2022, 9:28pm UTC](https://community.homey.app/t/source-of-documentation-on-functions-available-in-homey-pro-flows/64038/3 "2022-05-29T21:28:45Z")

</div>

Thanks a lot! 🙂
