CSNG function

Purpose: CSNG returns the single precision value of a numeric expression.


 Syntax:

 RetSng! = CSNG(Numeric Expression)

 Parameters:

  • Numeric Expression Number or calculation.

 Return Value:

  • RetSng!, the return value, is a single precision floating point number.

Example:


 DIM RetSng!
 
 RetSng! = CSNG(6.6 / 2.6)
 
 PRINT RetSng!

Result:

2.538461