calculate surface of a circle round to the nearest integer javascript

JavaScript
Math.round(Math.PI * radius * radius)

Source

Also in JavaScript: