CSNG Function

Basic Computer Programming Language Command Set

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).

Examples:

10 A#=975.3421222#
20 PRINT A#; CSNG(A#)
RUN
 975.3421222 975.3421

Basic commands



Index