0

Hello,

I've got a question about some mathematics in VB.net.

I really hope someone can help me out!

On a form i've got two textboxes.

Users can give input (numbers) and the numbers are like this: 0.000 or 250.000 or 36547.256, etc.

The numbers are converted to a string for the output, but..

In some case, a value of 50 must be deducted from the value, so it will be like this,

250.000 - 50.000 = 200.000 or 36547.256 - 50.000 = 36597.256

The program is doeing like this:

250.000 - 50.000 = 249950.

Can somebody help me with this?

Thanx