Hi All,
I’m currently using PLEG to calculate the instantaneous power cost in dollars and sending it to a Multistring value so I can view it on my Mobile. All working well.
Condition:
cCurrent_PowerCost sUpdate_EmonTotal ? ( (cEmonTotal_Value / 1000) * 0.28) : cCurrent_PowerCost
Action:
MultiString[977] SetVariable1 newVariable1={(cCurrent_PowerCost)}
In the action, is there a way to make {(cCurrent_PowerCost)} be formatted as $ x.xx ? So two decimals, and a leading $ sign?