CSNG

From QB64 Wiki
Revision as of 16:54, 31 August 2009 by 63.116.159.137 (talk) (Created page with ''''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: A#…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

A#=975.3421222#
PRINT A#; CSNG(A#)

975.3421222 975.3421