Format the cell value in word table

Hello,

I am working with Aspose.Words. Now I have model with some properties have decimal values.
Now I want to fill the model value using the utility in table. I want to display this value in % sign with 1 decimal point.

How I can achieve this

Hi there,

Thanks for your inquiry. You can simply insert the text inside table’s cell using DocumentBuilder.Write or insert the field e.g { =1000 # “#,##0.0%” }. Please check the following code snippet.

DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertField(@"=1000 \# ""#,##0.0%"""); 

If you still face problem, please manually create your expected Word document using Microsoft Word and attach it here for our reference. We will investigate how you want your final Word output be generated like. We will then provide you more information on this along with code.