radius of a circle code example
Example 1: border-radius circle using %
.circle {
background-color:#fff;
border:1px solid red;
height:100px;
border-radius:50%;
-moz-border-radius:50%;
-webkit-border-radius:50%;
width:100px;
}
Example 2: circumference of a circle with a radius of 23.56
const number = 23 //or any number you like
Math.floor(number * (2 * Math.PI)
Example 3: area of circle
R = (3.14*r*r);
Example 4: area of circle
Area of circle = Pi * r^2 (r stands for radius and ^2 means squared)