Copyright © tutorialspoint.com

PERL cos Function


Syntax

cos EXPR

cos


Definition and Usage

Returns the cosine of EXPR, or $_ if EXPR is omitted. The value should be expressed in radians.

Return Value

  • Floating point number

Example

NA

Copyright © tutorialspoint.com