Integer begins with 0

When I fill in an integer in the webapp that begins with 0, mendix automatically deletes that 0. I need that 0 to stay there.. How can I fix this in mendix?
1 answers

Technically this would be a string, because 01 isn't possible as an integer, because it's just 1. So you could specify your attribute as a string and use a input mask in your textbox to allow only digits in your attribute.