how to comute the total value I input in textbox then after that I will going to add another value and the total of both sum will display in textbox

for example num1 = Val(btn.Price) * num2 = Val(btn.Quantity)
then total amount display

the value of num1 is 60 then the num2 is 1 in the total amount it display 60
what if i add num1 is 150 then num2 is 2 in the total amount 300

how to sum this two

Pl. Post your codes what you did.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.