Re: Please help me
Hi Rabid, is the language Visual Basic?
Perhaps the problem is that the value is text, not numeric. Try converting it first. In VB you could use CDbl().
Also try showing the numbers before and after the calculation (debug.print or msgbox or whatver works to show them on the screen) to see what is going on.
It is also possible that when dividing by 100 it is thinking "this is a whole number, so the answer should be a whole number".
MinDeposit = cdbl(txtPriceOfProperty.Text) * 0.05
if (Deposit >= MinDeposit) then
Let's know how you get on
"The physicists defer only to mathematicians, and the mathematicians defer only to God ..." - Leon M. Lederman