Jesse Moody
24f1677809
Fix can not typo ( #15830 )
2023-03-16 16:18:31 +01:00
Paul Bottein
afe1b7ef59
Use display precision for number format none ( #15674 )
...
* Use display precision for number format none
* Update src/common/number/format_number.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* prettier
* Fix 0 value
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-03-02 10:19:27 +00:00
Erik Montnemery
050ed145bf
Allow overriding a sensor's display precision ( #15363 )
...
* Allow overriding a sensor's display precision
* Update demo + gallery
* Lint
* Fix state not updated in the UI
* Use formatNumber for options
* Feedbacks
* Add default precision and minimumFractionDigits
* Remove useless undefined
---------
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-02-08 18:20:58 +01:00
Josh McCarty
66ed1b18be
Format numeric entities with integer value and step as integer instead of float ( #14112 )
2022-10-26 13:27:14 +02:00
Paul Bottein
907466d060
Add first weekday option in profile ( #13991 )
2022-10-10 16:58:27 +02:00
Bram Kragten
1bccbd4173
Use browser default time and number formatting with polyfills if needed ( #9481 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 23:34:52 +00:00