AndreAraujo
Programmer
hi everyone,
im having some problems performing operations to get currency values.
the result total and desc returns a strange value.
if total = 1 * 74.80 the total is 74.80D
Any ideas?
Thanks in advance,
Andre
im having some problems performing operations to get currency values.
the result total and desc returns a strange value.
if total = 1 * 74.80 the total is 74.80D
Code:
dim total, desc as decimal
total = (txt_quant.Text * txt_unit.Text)
desc = ((total * txt_desc.Text) / 100)
Any ideas?
Thanks in advance,
Andre