Dim Bal As Single = SumOfCash - (CashSales + StartAmt)
SumOfCash = 272.85
CashSales = 122.85
StartAmt = 150.00
Bal = .00000725 ???
so.. Bal <> 0 when it should be...
Any ideas?
I solved the issue by using Math.round but i am curious as to what could cause it?
Dim Bal As Single = Math.Round(SumOfCash - (CashSales + StartAmt), 2)


Reply With Quote