If you retrieve a string, but want to handle it as an integer, use the parseInteger function.
In addition to Peter with respect,
If you deal with amount, you should think that handle the input as decimal https://docs.mendix.com/refguide/parse-and-format-decimal-function-calls/
Look: 2.3 Examples