File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
content/components/sensor Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -255,9 +255,9 @@ filters:
255255
256256{{< include "filter/round_to_multiple_of.md" >}}
257257
258- # ## `round_to_sigfig `
258+ # ## `round_to_significant_digits `
259259
260- {{< include "filter/round_to_sigfig .md" >}}
260+ {{< include "filter/round_to_significant_digits .md" >}}
261261
262262# ## `skip_initial`
263263
Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ description: ""
33headless : true
44---
55
6- Rounds the value to the specified number of significant figures . Takes an integer greater than zero.
6+ Rounds the value to the specified number of significant digits . Takes an integer greater than zero.
77
88``` yaml
99- platform : ...
1010 filters :
11- - round_to_sigfig : 2
11+ - round_to_significant_digits : 2
1212 # 3.14159 -> 3.1
1313 # 157079 -> 160000
1414
1515- platform : ...
1616 filters :
17- - round_to_sigfig : 4
17+ - round_to_significant_digits : 4
1818 # 3.14159 -> 3.142
1919 # 157079 -> 157100
2020```
You can’t perform that action at this time.
0 commit comments