Question: what is the function of data type?
Answer: The function returns the type of data from this list: Text, Integer, Float, Binary, Date or Choice. Here's an example which checks the AreaCode variable. If it is text, it converts it into a number. Note: The Choice and Date types can only occur if the datatype( function is used with a field as the parameter.