logn()
← Back to Module math
Calculate base-n logarithm of x
n
x
logn(x, n)
number
logn(8, 2) ' Returns 3
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.