Text.From
Creates a text value from the given value.
Syntax
Text.From(
value as any,
optional culture as text
) as text
Remarks
Returns the text representation of value
. The value
can be a number
, date
, time
, datetime
, datetimezone
, logical
, duration
or binary
value. If the given value is null, Text.From
returns null. An optional culture
may also be provided (for example, "en-US").
Examples
Example #1
Create a text value from the number 3.
Text.From(3)
Result:
"3"
Category
Text.Conversions from and to text