17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GW-BASIC <strong>User's</strong> Guide<br />

CSNG Function<br />

Purpose:<br />

To convert x to a single-precision number.<br />

Syntax:<br />

CSNG(x)<br />

Comments:<br />

x must be a numeric expression (see the CINT and CDBL functions).<br />

Examples:<br />

10 A#=975.3421222#<br />

20 PRINT A#; CSNG(A#)<br />

RUN<br />

975.3421222 975.3421<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/CSNG.html28/03/2004 21.29.14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!