老师,以下代码如何实现下拉combolist内容里面固定小数位
Dim cmd2 As New SQLCommand Dim dt2 As DataTablecmd2.C cmd2.CommandText = "SELECT DISTINCT 参数计量 F rom {参数计量}"dt2 = cmd1.ExecuteReaderTables("因子库主表").Cols("参数计量").Combolist = dt2.SQLGetComboListString("参数计量")
现在下拉得到的如
0.5
1
1.2
2
2.1
3
怎样实现
1.0
2.0
3.0