Difference between revisions of "CSNG"
Jump to navigation
Jump to search
imported>Clippy |
imported>Clippy |
||
Line 8: | Line 8: | ||
* x must be a numeric expression (see the CINT and CDBL functions). | * x must be a numeric expression (see the CINT and CDBL functions). | ||
− | ''' | + | '''Example:''' |
− | :A#=975.3421222# | + | :A# = 975.3421222# |
:PRINT A#; CSNG(A#) | :PRINT A#; CSNG(A#) | ||
Revision as of 04:20, 7 September 2009
Purpose: To convert x to a single-precision number.
Syntax: CSNG(x)
Comments:
- x must be a numeric expression (see the CINT and CDBL functions).
Example:
- A# = 975.3421222#
- PRINT A#; CSNG(A#)
- 975.3421222 975.3421