Hi,
I have a small project in vc++ 2015. While I calculate the total, I get this error.
Is it possible to solve this error. Any Kind helps.
ThanksCode:private: static System::Decimal MyNumber2; private: static System::Decimal DJSubTot = 0; private: static System::Decimal DJVATTot = 0; private: static System::Decimal DJFreightTot = 0; MyNumber2 = 0; if(Decimal::TryParse(textBox8->Text->Trim(), MyNumber2)){ DJVATTot = MyNumber2; } MyNumber2 = 0; if (Decimal::TryParse(textBox9->Text->Trim(), MyNumber2)) { if (MyNumber2>0) { DJFreightTot = MyNumber2; } } textBox10->Text = (DJSubTot + DJVATTot + DJFreightTot).ToString(); // Error Line




Reply With Quote
