# CONVERT

#### Syntax

**CONVERT**(*value;* *valueType*)

* *value* - the value which should be converted - ***Value type**: any*
* *valueType* - the value type to which value should be converted - ***Value type**: constant*\
  Possible values are:
  * *number*
  * *text*
  * *date*
  * *boolean*
  * *constant*

#### Example

The left table contains the values of table1, converted to numbers. If a value cannot be converted to a number, !VALUETYPE is displayed. A boolean is converted to its number representative.

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-4b535a98e0f1739b6deceb30b80fc2ebf89357f0%2Fgrafik%20(161).png?alt=media" alt=""><figcaption></figcaption></figure>
