This is a migrated thread and some comments may be shown as answers.

How to make the column controlled by the control GridView display three decimal numbers

2 Answers 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
hong
Top achievements
Rank 1
hong asked on 15 Mar 2019, 06:05 AM

Hello everyone,

  When I use the GridView control, if a column is decimal, it can only display two decimals, and the third one rounds; but this is not what I want, I want it to display

three or four decimals, and I don't know how to solve it.

2 Answers, 1 is accepted

Sort by
0
andi
Top achievements
Rank 1
answered on 19 Mar 2019, 06:47 AM
RadGridView1.Columns("xxxxx").FormatString = "{0:F5}"
0
hong
Top achievements
Rank 1
answered on 25 Mar 2019, 04:19 AM
Thank you very much
Tags
GridView
Asked by
hong
Top achievements
Rank 1
Answers by
andi
Top achievements
Rank 1
hong
Top achievements
Rank 1
Share this question
or