Question
Is it possible to typecast the datatype in profile query language?
Documentation do not cover typecasting the data for primitive types (double to integer)
Can we typecast the profile data in PQL API query approach?
For example: Let's say profile has an attribute 'memberShipDuration': '500' , it is a string type. Now in profile query API, would like to convert it to integer so we can divide by 12 to find the number of years.
profile.memberShipDuration/12 = 41