SHIP:Sail:log

From Serious Documentation
Revision as of 09:08, 30 September 2016 by CarltonHeyer (talk | contribs) (Created page with "__NOTOC__ {{SailFuncTableStart|}}<onlyinclude> |{{SailFunc|log}}||{{DataType|Float}}||style="text-align:center;"|v5.1.0||Return the base 10 log of a number{{v5}}</onlyinclude>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function Returns Introduced Description
log Float v5.1.0 Return the base 10 log of a numberBadge SHIPv5.gif

See Also:

Prototype

Float log(Float n);

Parameters/Return Value

Parameter Data Type Description
n Float the number to take the log of
Return Float the result of log n

Detailed Description

The log() function returns the base 10 log of a number.

Examples

Example Result Notes
log(1); 0.000000...
log(5); 0.6989700...
log(1000); 3.000000...