CitectVBA Programming Reference > CitectVBA Function Reference > Conversion Functions > Number and string conversion

Number and string conversion

CitectSCADA uses the following functions for converting and formatting numbers and strings:

Format

Formats a string, number, or variant to the format expression (fmt ).

Hex

Converts a value to a string representing the hex value.

Oct

Converts a value to a string representing the octal value.

Str

Converts a value to a string containing numeric characters.

Val

Converts a string containing numeric characters to a numeric value.