Hi Nastassia,
You could use the parseInteger function to convert a string to an integer:
parseInteger('0')
Read more about it in the documentation:
https://docs.mendix.com/refguide/parse-integer/
Hope this helps,
Regards, Jeroen
Hii
ParseInteger($entity/attribute)
Thank you so much!