Skip to main content
DLiteScript
Playground
Documentation
DLiteScript - A Delightfully Simple Scripting Language
Documentation
Standard Library
math Namespace
math.log10
math.log10
Returns the base-10 logarithm of a number.
Examples
1
printf
(
"%g\n"
,
math
.
log10
(
100
))
// 2
Improve this page