Copy as Markdown View as Markdown (opens in new tab) View on GitHub (opens in new tab) View llms.txt (opens in new tab) Open in... ChatGPT (opens in new tab) Claude (opens in new tab) Perplexity (opens in new tab) toDegrees toDegrees(angrad: Number): Number Converts an angle measured in radians to an approximately equivalent number of degrees. Introduced in DataWeave version 2.4.0. Parameters Name Description angrad Number of radians to convert to degrees. Example This example shows how toDegrees behaves with different inputs. Source %dw 2.0 import * from dw::util::Math output application/json --- { "toDegrees0.17": toDegrees(0.174), "toDegrees0": toDegrees(0), "toDegrees-20": toDegrees(-0.20) } Output { "toDegrees0.17": 9.969465635276323832571267395889251, "toDegrees0": 0E+19, "toDegrees-20": -11.45915590261646417536927286883822 }