custom-cards / flex-table-card

Highly Flexible Lovelace Card - arbitrary contents/columns/rows, regex matched, perfect to show appdaemon created content and anything breaking out of the entity_id + attributes concept

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format numbers based on user's number format

stenrose opened this issue · comments

User's selected number format (decimal and thousand separators) are not respected.

I have kind of solved it for my need using
modify: parseFloat(x).toFixed(2).replace('.', ',') but would prefer if the card where following the user settings.

Would that be possible to solve?