custom-cards / bignumber-card

Apache License 2.0
122 stars 23 forks source link

Add option to set number of decimals to show #6

Closed kobush closed 4 years ago

kobush commented 4 years ago

Please add an option to set the number decimals to show for the given number. For example, custom:mini-graph-card has a 'decimals' attribute for this and I find this useful: https://github.com/kalkih/mini-graph-card

iantrich commented 4 years ago

create a template sensor to truncate the value