The ToString() function converts a value to text.

Syntax

ToString(value)
ToString(value, format)

Returns

A text representation of value. If value is unknown an empty text is returned.

Parameters

  • value – a value of any type.
  • format – (optional) a text with the format to which value must be converted. This parameter only applies when converting a datetime, duration or number.

Note: this function uses the language setting of a portal when converting a value.

Examples

ToString("Bard")                    /* "Bard" */
ToString(true)	                    /* "Yes" */
ToString(false)                     /* "No" */
ToString(1054.32179, "#,000.000")   /* "1,054.322" */
ToString('Color'.'Orange')          /* "Orange */
ToString([File])                    /* (The name of the file) */
ToString(UnknownNumber)             /* "" */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company