Skip to main content
Version: 6.5.0

radiansToDegrees

Description

Converts an angle in radians to degrees

Parameters

NameTypeDescription
radiansnumberangle 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(...);