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
GNU General Public License v3.0
208 stars 26 forks source link

Format numbers based on user's number format #64

Open stenrose opened 2 years ago

stenrose commented 2 years ago

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?

EdLeckert commented 3 months ago

Check out the latest release and try the new auto_format feature.