sin

This block is part of the math group and was last modified in core v13.0.7.

sin v13.0.7

Returns the sine of a number

In pins 1
  • number_0 required
    number
Out pins 1
  • Number
    number

Outputs the sine of number_0 (radians). Numeric strings and booleans coerce; a wired non-numeric value counts as 0 (so sin -> 0), and an unwired or nil pin writes nothing to the output. Example: number_0=1.5707963267948966 -> 1.

A typical wiring for Sin: the number out pin feeds cast to value.

Studio canvas example for the Sin block: typical wiring for Sin.

Version history

Introduced in v13.0.7.


Back to math Return to the main group to view all sub-groups Back to number: static methods Return to the group to view all blocks within this group