Display boolean as 0/1

Hello all,

I've connected an WORD datatype to a HMI symbol I made, that dispalys each individual bit in a textbox. This is done by the 'text dynamic'. In the variable field I've the following: 'Variable.%X{bitnumber}'. This works fine, but the text is displayed as true/false, where I actually want just a 0 or 1. Unfortunatly, I am unable to use a function like TO_INT in the variable field. "Function is not the name of a function or mathod that may be used".. Is this possible?

Arne

Type casting in HMI expressions would be nice to have. I made a couple attempts at this one but was unable to come up with a solution on the HMI side.

Rob is right - there is currently no way to directly format a Boolean to display as 0/1. The current solution(s) involve manipulation of the data on the PLC side.