Perl Home
PERL Functions
© 2011 TutorialsPoint.COM
|
PERL sin Function
Syntax
Definition and Usage
Returns the sine of EXPR, or $_ if not specified. This function always returns a floating point.
Return Value
Example
Try out following example:
#!/usr/bin/perl
$temp = sin(4);
print "sin value of 4 is $temp";
|
It will produces following result.
sin value of 4 is -0.756802495307928
|
|

|
|
|