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
ABS().md•528 B
# ABS()
## Effect
Returns the absolute value of a value.
## Syntax
`ABS (<Expression>)`
# Parameter
`<Expression>` can be a value, a numeric variable or an mathematical expression.
## Example
```basic
10 PRINT "The absolute value of 5 is ";ABS(5)
20 PRINT "The absolute value of -1.23 is ";ABS(-1.23)
RUN
The absolute value of 5 is 5
The absolute value of -1.23 is 1.23
```
## Related to
`INT()`, `FIX()`, `SGN()`
## Compatibility
MSX-BASIC 1.0 or higher
## Source
Retrieved from "https://www.msx.org/wiki/ABS()"