c# - Float Number Precision in Crystal Report -


i'm implementing report contains table columns , use datatable , dataadapter fill table.the problem can not find solution 1 of fields float number in database (like this: 0.32546)doesn't have enough precision when displayed in report (like:0.32).what suggestion view number totally?

here screenshot of dataset,which "result_num" float field(i've tested both system.single , system.double): enter image description here

p.s. data shown in datatable complete , desired precision.

thanks in advance

at first highly recommend not make use of crystal-report! here why?!

but make sure type of field using numeric. change decimal numbers right clicking on filed , move forward this:

enter image description here

enter image description here

enter image description here


Comments