![]() |
Calculator
:
<html>The code is working except the addition part. Any solution? i.e :
function add() |
You probably need to convert the values to numbers before adding them together, try something like:
:
function add() |
when 4 and 4 is given it earlier used to show 44
Now it shows 404 The other things like substraction, multiplication and division is working but only additon is not. |
Oops, sorry about that, must have got my languages mixed up
This one works (I tried it first!) :
function add() |
It works. Thanks.
|
| All times are GMT -5. The time now is 4:17 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC