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 31.0 SP1 (31.1.1)
In this case, the numeric format of the field can be used to render the required format.
Sample Source Code
© 2023 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.