Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Data Types

Type Conversion Functions

Scroll Prev Up Next More

The following built-in functions can be used to convert an expression of one type to a value of another type :

 

•FormatDate - converts a date to a string using a specified format.

•FormatNumber - converts a number to a string using a specified format.

•IntToStr - converts an integer to a string.

•StrToInt - converts a string to an integer; an invalid value causes an error.

•StrToIntDef - converts a string to an integer, returning a supplied default value if conversion fails.

 

There are no conversion functions between dates and integers, since they are the same, in the macro language.

 


Topic 134100, last updated on 09-Oct-2026