1
Reply

Format datagridview cell for decimal number

priyanka

priyanka

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