priyanka

priyanka

  • NA
  • 215
  • 124.1k

Format datagridview cell for decimal number

Sep 6 2017 3:51 AM
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)