Changes

Jump to: navigation, search

Locomotive BASIC

124 bytes added, 16:11, 2 January 2019
/* CINT (n) */
==== <code>CINT (n)</code> ====
: FUNCTION: Returns rounded up integer the value of the <numeric expression> (n between ), Converting it to a rounded INTeger in the range -32768 and to 32767. : Associated keywords: CREAL, FIX, INT, ROUND, UNT
: Example:
<pre>
10 n=1.999920 PRINT CINT(3.8n) - print 4run 2
</pre>
205
edits