GameMaker Studio 2 has a number of different data types, like integers, strings, pointers, etc... and some of those can be converted to others. This section of the manual shows the different actions available for dealing with and converting different data types.
The Types library has the following actions:
|Decimal To Integer|
|String To Number|
|Number To String|