我有一个listbox1,以€计价价格(带小数)。价格的总和是我的TextBox1中的值。
With ThisWorkbook.Sheets("Sheet1")
Me.ListBox1.AddItem .Range("B2").Value
Me.ListBox1.Column(1, ListBox1.ListCount - 1) = Format(Val(.Range("C2").Value), "€#,##0.00")
Me.TextBox1.Value = CDbl(Me.TextBox1.Value) + .Range("C2").Value
Me.TextBox1.Value = Format(Me.TextBox1.Value, "#,##0.00")
End With
当我的总和是1.60 + 1.60时,我在文本框中的值为32,00。我希望输出为3.20。