radiansToDegrees
Description
Converts an angle in radians to degrees
Parameters
Name | Type | Description |
---|---|---|
radians | number | angle in radians |
Returns
number degrees between 0 and 360 degrees
Installation
$ npm install @turf/helpers
import { radiansToDegrees } from "@turf/helpers";
const result = radiansToDegrees(...);
$ npm install @turf/turf
import * as turf from "@turf/turf";
const result = turf.radiansToDegrees(...);