It's a float tag. I'm trying to constrain the field width so that numbers stay in-line when leading digits are dropped, rather than shifting to the left when the number is shortened (also shifting the unit label of ft.).
Like so:
instead of:
(using numberFormat())
Like I said, the formatting still seems to work, but I get the error.
This doesn't seem to happen if I add custom properties to the label, bind the tag to that property, and use that property in the expression binding for the text.
Would be interesting to know why it's seeing an integer though. Is the tag data itself a float or is it scaled? Like 0-1000 scaled to 0-100.0 kind of thing.
Does the error happen on every value change as well as opening the window?