I have javascript function which calculates the product of two numbers.
Here for eg if price is 19.50 and num is 1 then o/p should be 19.50 and not 19.5 as its resturning now.Code:function fnCalculate() { var lat1=price * num; }
Also if price is 15.00 and num is 1 then o/p should be 15.00 and no just 15.
Is it possible ... someone please help



Reply With Quote

Bookmarks