The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I can't manage to force a number format in a cell. I tried
Format = "###,00"
on the cell, it compiles, runs, but still displays 6 decimal digits.
Where's my mistake ?
Thank you.
ADAdministrator Syncfusion Team October 2, 2002 12:11 PM
Here code that displays 2 decimal places. Make sure you also set the CellValueType for your cells.
this.gridControl1[1,1].CellValueType = typeof(double);
this.gridControl1[1,1].CellValue = 1.1d;
this.gridControl1[1,1].Format = "F2";