1
Answer

Format datagridview cell for decimal number

priyanka

priyanka

7y
216
1
Hi,
 
I want to display decimal number in datagridview  lkie this format
 
1234.78
89.76
 
but,when i am using this
 
dataGridView1.Columns[8].DefaultCellStyle.Format = "n2";
 
it's showing
 
12,34.78
 
I don't need comma, plz suggest me something
Answers (1)