Skip to content

ToText

Scalar

ToText(value)

Casts a number or date to text (dates render ISO). Required before concatenating with &, which takes string operands only — there is no implicit number→string coercion in SquareX (SQX006).

  • Building label measures: KPI subtitles, chart annotations — "as of " & ToText(Max(Sales.OrderDate)).
RevenueLabel := "Total: " & ToText(Round([Revenue], 0))