Data connectivity & integrationPipeline Builder ExpressionsSine

Sine

Supported in: Batch, Streaming

Takes the sine of an angle.

Expression categories: Numeric

Declared arguments

  • Angle unit - Angle unit which is either degrees or radians.
    Enum<Degrees, Radians>
  • Angle value - Angle value in either radians or degrees.
    Expression<DefiniteNumeric>

Output type: Double

Examples

Example 1: Base case

Argument values:

  • Angle unit: degrees
  • Angle value: angle
angleOutput
0.00.0
90.01.0
180.00.0

Example 2: Base case

Argument values:

  • Angle unit: radians
  • Angle value: null

Output: null