Question and answer is powered by AnsPress.io
I have two numeric values, I want to calculate the addition of two numeric values using TypeScript. How can I get the addition of two numeric values?
if my value like
let v1 = 20; let v2 = 30;
Display Output = 50 //
Apply this code in your TypeScript.
let v1 = 20; let v2 = 30; let total = v1 + v2; console.log(total);
Output:
50