Homey Community Forum

Available math functions

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 use the Logic-card “Calculate a numeric value” in THEN field an set variables to calculated values from other variables or/and tags.
I’m sorry to say I don’t know where you can find the docs.

“You can even perform math inside a Flow! Surround your formula with curly brackets, for example:
{{ 1 + 2 }}
Of course you can add tags in this calculation.”

Try this list:

Example: {{round(5.345,2)}}


Thanks @Ton_Meek - this is what I was looking for.