Is it possible to use a binding to read a tag value with it’s format already applied?
Currently I read the raw value and the format string using two separate bindings. Then I format the value using an expression binding and numberFormat(). It feels as though this can be achieved in a simpler manner - any suggestions are appreciated.
Assuming that _value and _format are also just Expression Bindings, then you can just place those Expressions together inside of the single numberFormat Expression.
What you are doing with _value and _format are what you need to do if you intend to use indirect tag binding with this label. Consider placing the expression on _valueFormatted directly on props.text for the label.
_value and _format are both tag bindings, accessing the tags Value and FormatString, respectively. So unless I want to use the tag()function within the expression, which I avoid due to potential issues, I don’t see a method to combine this into one expression binding.