31
rated 0 times
[
36]
[
5]
/ answers: 1 / hits: 19685
/ 7 Years ago, tue, january 31, 2017, 12:00:00
I have two text boxes. Each will take input up to thousand digits.
Now i want to add these two numbers. My question is what data type should i use to store the result?
I have tried this:
<script>
var x = 'Thousand digit of number'
var y = 'Thousand digit of number'
var z = x + y
</script>
but i am getting result in exponential form. How to store the result and display it?
More From » javascript