We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nataliapc/mcp-openmsx'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
LOG().md•520 B
# LOG()
## Effect
Returns the natural logarithm (base e=2.718281884588) of a number.
## Syntax
`LOG(<Number>)`
## Parameter
`<Number>` must be greater than zero.
## Example
```basic
10 PRINT "The natural logarithm of 2 is ";LOG(2)
20 PRINT "The natural logarithm of 10 is ";LOG(10)
RUN
The natural logarithm of 2 is .69314718055993
The natural logarithm of 10 is 2.302585092994
```
## Related to
`EXP()`
## Compatibility
MSX-BASIC 1.0 or higher
## Source
Retrieved from "https://www.msx.org/wiki/LOG()"