Copy as Markdown View as Markdown (opens in new tab) View on GitHub (opens in new tab) Open in... ChatGPT (opens in new tab) Claude (opens in new tab) Perplexity (opens in new tab) sin sin(angle: Number): Number Returns the trigonometric sine of an angle from a given number of radians. Introduced in DataWeave version 2.4.0. Parameters Name Description angle Number of radians in an angle. Example This example shows how sin behaves with different inputs. Source %dw 2.0 import * from dw::util::Math output application/json --- { "sin0": sin(0), "sin13": sin(0.13), "sin-1": sin(-1) } Output { "sin0": 0.0, "sin13": 0.12963414261969486, "sin-1": -0.8414709848078965 }