To string

1 minute to read Download PDF Edit

Basic functions to convert values of various data types to string.

toString

Converts the specified value to a string representation.

Input parameters

A value that should be converted to a String. Supported types: Integer/Long, Decimal, Float (deprecated), DateTime and Enumeration. In case of Enumeration, returns the key of the enumeration value, not the caption. See also Enumerations in microflow expressions.

toString(1.4)

returns:

'1.4'

with a DateTime:

toString(dateTime(2007))

returns:

'Mon Jan 01 00:00:00 CET 2007'

Copyright © Mendix. All rights reserved. | Mendix.com | Terms of Use | Privacy Policy