Get Circle Circumference
import { getCircleCircumference } from 'mz-math';
const radius = 10;
const decimalPlaces = 2; // optional
const circumference = getCircleCircumference(radius, decimalPlaces); // 62.83
Get Ellipse Circumference
import { getEllipseCircumference } from 'mz-math';
const radius1 = 10;
const radius1 = 20;
const decimalPlaces = 2; // optional
const circumference = getEllipseCircumference(radius1, radius2, decimalPlaces); // 99.35