Hi group, I have to take a currency value from a textbox, subtract it from another value obtained in the same way, and rewrite it on a third textbox. I thought it was easy, but somewhere I make a mistake and I don’t find the mistake.
Dim NFC as currency
Dim NFF as currency
Dim LFC as currency
Dim LFF as currency
NFC=textNettoCliente.Text.ToDouble
NFF=TextNettoFornitore.Text.ToDouble
LFC=TextLordoCliente.text.ToDouble
LFF=TextLordoFornitore.text.ToDouble
TextDifferenzaNetti.Text =currency.ToString(NFC-NFF).ToText
TextDifferenzaLordi.text =currency.ToString(LFC-LFF).ToText