So, for some reason, when I’m trying to convert String value to Int value, last part of the number just dissapears.
I am trying to get resolution from UI. It’s a Text formated as “{Width}x{Height}” (for example “1280x720”). I then convert it to string (it’s still “1280x720”), then I use Split node to split the string into two separate strings at the “x” (it returns two strings “1280” and “720”). Everything fine thus far. Then I use ToInt node, to convert both strings to integers and here’s the problem: for some reason the first string only converts to the first digit of the number, while the second one converts fine. So I have the outputs of 1 and 720, instead of 1280 and 720.
Why is this happening and what do I do?