float tan ( float num ) calculates the tangent value of the number : tan « Math « PHP






float tan ( float num ) calculates the tangent value of the number

 
<?
    $tan1 = tan(10);
    $tan2 = tan(deg2rad(80));
?>
  
  

Related examples in the same category