Returns the tangent of a given angle.
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
TAN(number)The TAN function calculates the tangent of an angle provided in radians. If your angle is in degrees, you must multiply it by PI()/180 or use the RADIANS function to convert it.
=TAN(RADIANS(45))ผลลัพธ์: 1
Calculates the tangent of 45 degrees by converting it to radians first.
Ensure your input is in radians. Excel's trigonometric functions expect radians, not degrees.