Pi number

Report a typo

Write code in the body of the piFunc function that will get the number Pi from the Math object and round it up to two decimal places using the method of the Math object. The result of the calculation must be returned by the piFunc function.

Write a program in JavaScript
function piFunc(){
// write your code here

}
___

Create a free account to access the full topic