dbeve Posted April 10, 2008 Report Share Posted April 10, 2008 Hi again. How do I show decimals in the datagrid? Presently, I have some data that might be 0.034200202 or some small number greater than 0 but less than 1. These always show up as 0 in the datagrid. Likewise, I'd like numbers such as 10.01 show up as 2 decimal places in the data grid. All i get right now are whole numbers - always. I expect there is an easy way to accomplish this. Thanks. Quote Link to comment Share on other sites More sharing options...
maried Posted April 10, 2008 Report Share Posted April 10, 2008 To show say 2 decimal places in the datagrid, please do the following: chart1.AxisY.DataFormat.Decimals = 2; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.