DataGrid Rounding

  • Thread starter Thread starter Michael Turner
  • Start date Start date
M

Michael Turner

Hi Guys

i have a datagrid which is bound to a datagrid some of these fields have
number with a value that has more than 2 decimal places what I would like
the datagrid to do is to round these numbers to 2 decimal places, any ideas?

Mike.
 
I have noticed that I should use the format method but it looks like format
= "c" show the currency but I can't see which method to use to show the
number without currency just changing it to 2 decimal places.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top