Cicode Programming Reference > Converting and Formatting Cicode Variables

Converting and Formatting Cicode Variables

CitectSCADA provides four functions for converting integers and real numbers into strings, and vice versa.

You can convert data types without using these Cicode functions, but the result of the format conversion might not be what you expect. If you want more control over the conversion process, use the appropriate Cicode functions.

Note: Variables of type object cannot be converted to any other type.

When variables are automatically converted, or when the return value from a function call is converted, specific rules apply.

See Also

Converting Variable Integers to Strings

Converting Real Numbers to Strings

Converting Strings to Integers

Converting Strings to Real Numbers

Formatting Text Strings

Escape Sequences (String Formatting Commands)

Using Cicode Files