Int not displaying in widget?

Here is the construct. But im doing a normal cast in the function like the picture above right now.