A typical sample for a numeric format is a currency. The merge field value comes from a data source and contains a simple Integer and Float value such as the number 24. But the field should render the value with a currency symbol and 2 decimal digits: $24.00.

This demo uses the MVC version of TXTextControl.Web.MVC.DocumentViewer included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.

Version 32.0 SP2 (32.2.1)

In this case, the numeric format of the field can be used to render the required format.

Next Sample

© 2024 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We documents.