Share via


Convert simple type values to text using new ToText method

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Apr 1, 2025 Apr 1, 2025

Business value

To easily convert the value of simple types to text, you can now use the ToText method on the type—for example, on a Date type.

Feature details

We've added the ToText method to simple types (BigInteger, Boolean, Byte, Date, DateTime, Decimal, Duration, Guid, Integer, Time, Version) for easy conversion to text.

For advanced formatting options, you should continue to use FORMAT.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.

Additional resources

BigInteger.ToText() Method (docs)