This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dictionary:more:formatnumber [2023/01/09 13:39] James Sentman [format number] added link to MQTT plugin |
dictionary:more:formatnumber [2023/01/09 13:39] James Sentman [format number] |
||
---|---|---|---|
Line 2: | Line 2: | ||
Formats a number in a specific way given the format string. Similar to the format() command. This same format is supported for both the **format number** verb and the format string parameter of a Unit that controls it’s display of a numerical value. | Formats a number in a specific way given the format string. Similar to the format() command. This same format is supported for both the **format number** verb and the format string parameter of a Unit that controls it’s display of a numerical value. | ||
- | This is also used to format the outgoing message for a numerical value going to an MQTT server via the [[supported_hardware:mqtt|MQTT Plugin]]. | + | The formatting syntax is also used to format the outgoing message for a numerical value going to an MQTT server via the [[supported_hardware:mqtt|MQTT Plugin]]. |
===Usage:=== | ===Usage:=== |