toDouble

fun toDouble(targetUnit: AngleUnit): Double

Returns the value of this angle as a Double number of the specified targetUnit.

Return

Value as a Double converted to the specified unit.

Parameters

targetUnit

The unit to which the angle should be converted.