Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns a floating point value. tan is undefined at {..., -270, -90, 90, 270, ...}

Examples

Code Block
languagetext
float $temp = (tan (30)); 

...

// declares a variable for the tangent function

...


 

...

print (string ($temp)); 

...


// prints the output of the tangent function

Additional information

Related commands

...