CINT

From QB64 Wiki
Revision as of 05:39, 28 August 2009 by 72.95.147.221 (talk) (Created page with ''''CINT''' function rounds decimal point numbers up or down to the nearest integer value. Values greater than .5 are rounded up; .5 or lower are rounded down. ''Useage:'' a% = …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CINT function rounds decimal point numbers up or down to the nearest integer value. Values greater than .5 are rounded up; .5 or lower are rounded down.

Useage: a% = CINT(decimal!)

Since CINT is used for integer values, the value cannot exceed 32767!

See also: CLNG