I am messing around a simple square footage calculator in JavaScript. We had to get the square feet then obtain a cost based on a price per square feet. I got everything to work, but there are some answers that output 10-13 decimal places and I only want to display 2. Is there such a way to do this?
I know how to do it in C++, but JavaScript is a little different. Thanks.
I know how to do it in C++, but JavaScript is a little different. Thanks.