Typecasting
From Flowcode Help
Jump to navigationJump to search
Typecasting is a way of specifying what we want in terms of the assignment and the values passed to the assignment.
Typecast operators:
- string
- float
For example if we want to display a numeric variable as an ASCII string then we can use the "string" typecast.
StringVar = string NumericVar
This can be taken further and used on results of calculations etc.
StringVar = string (NumericVar * 5)