Open topic with navigation
The following example calculates the sine of 90 degrees using sin.
double x = 90;
lr_output_message ("Sine of %lf deg = %lf\n", x, sin(x * PI/180));
Output:Action.c(9): Sine of 90.000000 deg = 1.000000
© 2004 - 2016 Hewlett Packard Enterprise Development LP
Last updated November 23, 2016
Send Help Center Feedback to: firstname.lastname@example.org