What do you mean a rounded number? As i 1.98 becomes 2 or does it chop off the decimal?Originally Posted by pukisoft
If so, you could do this with the code above:
Code:Private Sub Command1_Click() Combo1.AddItem "A new service" Combo1.ItemData(0) = "1.98" Label3.Caption = FormatCurrency(Combo1.ItemData(0),2) End Sub




Reply With Quote