Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
Using tan function : tan « System Functions « Perl
Perl
System Functions
tan
Using tan function
use Math::Trig; print
"The tangent of 0 = "
, tan(0),
"\n"
;
Related examples in the same category
1.
print POSIX::tan(atan2 (1, 1));