__value and __text for variables not working as expected

It’s an integer - does it need to be text?