Name

Tanh Function

Class

System.Math

Syntax

Math.Tanh(number)
number (required; Double or numeric expression)

An angle in radians

Return Value

A Double denoting the hyperbolic tangent of the angle

Description

Returns the hyperbolic tangent of an angle

Rules at a Glance

This is a Shared member, so it can be used without creating any objects.

VB.NET/VB 6 Differences

Tanh is new to the .NET Framework.

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.