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
CSNG().md•559 B
# CSNG()
## Effect
Converts a variable to a single precision number. Single precision numbers have an accuracy of 6 digits.
## Syntax
`CSNG (<Expression>)`
## Parameter
`<Expression>` can be a value, a numeric variable or an mathematical expression.
## Example
```basic
10 PRINT "7 divided by 6 is ";CSNG(7/6)
20 PRINT "10 divided by 11 ";CSNG(10/11)
RUN
7 divided by 6 is 1.16667
10 divided by 11 is .909091
```
## Related to
`CDBL`, `CINT`
## Compatibility
MSX-BASIC 1.0 or higher
## Source
Retrieved from "https://www.msx.org/wiki/CSNG()"