# Available math functions

**URL:** <https://community.homey.app/t/available-math-functions/16622>\
**Category:** Questions & Help\
**Created:** [August 9, 2019, 9:48am UTC](https://community.homey.app/t/available-math-functions/16622 "2019-08-09T09:48:17Z")\
**Posts on this page:** 1\
**Showing post:** 52

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 28, 2025, 12:49pm UTC](https://community.homey.app/t/available-math-functions/16622/52 "2025-05-28T12:49:10Z")

</div>

🤪

Yea, I 'trial and errored" until I discovered this particular BLL card, which can be used for _string/text_ calculations on _any_ variable type.

Afaik all other cards take only numeric variables to calculate on, and using .replace on strings/text just gets rejected for non-numeric data.

Does this make sense?

But, wait! Yesterday I couldn’t get it to work, but now I tried this in an ordinary notification card and it works !  
This should work with Homey variables as well

```auto
{{ "[bll_stringvar]".replace("[name]","[other_name]") }}

```

 ![Screenshot_20250528_145443_Firefox](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/9/799ba0f0493ba83f3f302f3a060839a74d6a2699.jpeg)

---

_[View the full topic](https://community.homey.app/t/available-math-functions/16622)._
