Hi
I there an easy way to convert string to integer ?
I tried to use "Set Variable" action with Force type as integer but when for example the string is 05 it convert it to 0 and not 5. As I want
Which version/build of finalbuilder are you using?
I’m not able to reproduce this here… In the set variable action, I set it to use the existing value, no modifier and force the type to integer. In the after action script event I added the following javascript :
alert(FBVariables.MyNumber.toString())
It displays 2 as expected. If this does not happen for you please send an example that shows the problem to support and we will investigate.
Sorry, FinalBuild work OK. it was my mistake.