I have javascript code with computation, but I have problem in my result because it was not round off or fixed into two decimal places only.

JavaScript has [floor, [url="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Math/round"]round and [url="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Math/ceil"]ceil for your rounding needs, along with [url="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/fixed"]fixed](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Math/floor) for restricting it to a certain number of digits.

JavaScript has [floor, [url="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Math/round"]round and [url="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Math/ceil"]ceil for your rounding needs, along with [url="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/fixed"]fixed](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Math/floor) for restricting it to a certain number of digits.