Add subtract multiply division two textbox values show in third textbox simple c#

preview_player
Показать описание
C# Form Addition,
C# Subtraction,
C# Division,
multiplication of two numbers c#
Рекомендации по теме
Комментарии
Автор

oh thank u so much .this solved my problem

TheSahillover
Автор

Hello sir, i have a problem with the code whenever i try to run the code it doesn't show me the exact sum of decimal value.
E.g it shows me 2+3+2 = 0.00$

HERE IS THE CODE:-

double Am1, Ip1, Co, to;
double.TryParse(textBox1.Text, out Am1);
double.TryParse(textBox2.Text, out Ip1);
double.TryParse(textBox3.Text, out Co);
to = Am1 + Ip1 + Co;
if (to > 0)
textBox4.Text = to.ToString("c").Remove(0, 1);

mprincehanad
Автор

Sir,
How can i show the( exact) negative value in the textbox

mdashiqurrahman
Автор

i want it without the .00 so how to just plus those 2 textbox value?

iSunner
Автор

sir i want to divide or multiply etc from morethan 5 textboxes and their result should be in other one textbox can you resolve my this ploblem plz

haqobatil
visit shbcf.ru