Returns the hyperbolic tangent of a number.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
TANH(number)The TANH function calculates the hyperbolic tangent of any real number. It is defined as the ratio of the hyperbolic sine to the hyperbolic cosine of the given value.
=TANH(0)ผลลัพธ์: 0
The hyperbolic tangent of 0 is 0.
=TANH(1)ผลลัพธ์: 0.761594156
Calculates the hyperbolic tangent of 1.
The result of the TANH function is always between -1 and 1.