Some help :worried:

hii

$total = ($amount + $amount1);

how I get solution for adding this in javascript

$total = ($amount + $amount1);

how I get solution for adding this in javascript

$total=($amount1 + $amount2) this is my javascript code

where my $amount1 = 1 and $amount2 = 2

I get $total = 12.

so, How I get 3 for that.

where my $amount1 = 1 and $amount2 = 2

I get $total = 12.

so, How I get 3 for that.