Difference between revisions of "Typecasting"

From Flowcode Help
Jump to navigationJump to search
(Created page with "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 ...")
(No difference)

Revision as of 14:12, 10 March 2014

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)