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