I need to be able to work with decimals. Right now I am trying to subract 2 decimals and it is not working
I input 10.89 in price and 11 in change the result should be 0.11, but I get 0.19999999
Why?
price As Double
Dim change As Double
Double.TryParse(Me.TPrice.Text, Price)
Double.TryParse(Me.TChange.Text, change)
Dim variable1 As double
variable1 = change - price
Me.LDollars.Text = Convert.ToString(variable1)