math.log10

From GMod Wiki

Jump to: navigation, search
Function
Syntax math.log10( number x )
Where is this used?
Description:
Returns the logarithm of x base 10
Returns: Number number
Part of Library: math
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Math.log10]Math.log10 [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionShows how to use the function
Used onNewerShared.png
Code
 
print(math.log10(2))
 
Output0.301029996


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox