tan()
← Back to Module math
Calculate tangent of x in radians
x
tan(x)
number
tan(45) ' Returns 1.61978
Documentation version: 1.0.16. Updated on: 14 July 2025.Dinfio is designed and written by Muhammad Faruq Nuruddinsyah. Copyright © 2014-2025. All rights reserved.