CSNG - DualBrain/bsharp GitHub Wiki

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

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

See Also