hi
i have 3numbers
First number :- 5133.60
Second number :- 2000.85
Third number :- 10.21
sum i want to get as "7144.66"
my problem is if i select this number "5133.60" it is taking only 5133 how to get full values .
my funcions is :-
function getSum() {
totalvalue = 0
obj = document.myform.chkbox
for (i = 0; i < obj.length; i++) {
if (obj[i].checked) {
totalvalue += parseInt(obj[i].value);
}
}
if (totalvalue == 0) {
alert("Please select atleast one product!!");
document.myform.totalsum.value = ""
}
else {
document.myform.totalsum.value = totalvalue;
}
}
...
Go to the complete details ...